```rust
#[cfg(debug_assertions)]
pub mod smallvec {
pub use std::vec as smallvec;
pub use std::vec as smallvec_inline;
pub type SmallVec
}
#[cfg(not(debug_assertions))]
pub use smallvec::smallvec;
```
```rust
#[cfg(debug_assertions)]
pub mod smallvec {
pub use std::vec as smallvec;
pub use std::vec as smallvec_inline;
pub type SmallVec
}
#[cfg(not(debug_assertions))]
pub use smallvec::smallvec;
```
I still remember that when i started using rust (in 2014) I thought “unwrap, cool, like a box” and then realized it was not related to Box but to monads and that it also panics and I was very confused
I still remember that when i started using rust (in 2014) I thought “unwrap, cool, like a box” and then realized it was not related to Box but to monads and that it also panics and I was very confused
```toml
# Pascal is bad with numbers
cast_lossless = { level = "warn" }
cast_possible_truncation = { level = "warn" }
cast_possible_wrap = { level = "warn" }
comparison_chain = { level = "warn" }
range_minus_one = { level = "warn" }
range_plus_one = { level = "warn" }
```
```toml
# Pascal is bad with numbers
cast_lossless = { level = "warn" }
cast_possible_truncation = { level = "warn" }
cast_possible_wrap = { level = "warn" }
comparison_chain = { level = "warn" }
range_minus_one = { level = "warn" }
range_plus_one = { level = "warn" }
```