Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Oct 7, 2020
1 parent 76c68db commit 5359e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dev/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5359e8f

Please sign in to comment.