minor
This commit is contained in:
parent
76c68dbefe
commit
5359e8f742
@ -401,7 +401,7 @@ fn foo() -> Option<Bar> {
|
||||
Use `<`/`<=`, avoid `>`/`>=`.
|
||||
Less-then comparisons are more intuitive, they correspond spatially to [real line](https://en.wikipedia.org/wiki/Real_line)
|
||||
|
||||
```rs
|
||||
```rust
|
||||
// Good
|
||||
assert!(lo <= x && x <= hi);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user