aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-10-07 12:11:33 +0100
committerAleksey Kladov <[email protected]>2020-10-07 12:11:33 +0100
commit5359e8f7429a7b6db7b1ab1ced5b19ff05d79123 (patch)
tree97565fcd28fe7e557049e468fc930a9827e6bf77
parent76c68dbefe1af573967cb3a4338c40ff61119144 (diff)
minor
-rw-r--r--docs/dev/style.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/style.md b/docs/dev/style.md
index 7aed7816e..59067d234 100644
--- a/docs/dev/style.md
+++ b/docs/dev/style.md
@@ -401,7 +401,7 @@ fn foo() -> Option<Bar> {
401Use `<`/`<=`, avoid `>`/`>=`. 401Use `<`/`<=`, avoid `>`/`>=`.
402Less-then comparisons are more intuitive, they correspond spatially to [real line](https://en.wikipedia.org/wiki/Real_line) 402Less-then comparisons are more intuitive, they correspond spatially to [real line](https://en.wikipedia.org/wiki/Real_line)
403 403
404```rs 404```rust
405// Good 405// Good
406assert!(lo <= x && x <= hi); 406assert!(lo <= x && x <= hi);
407 407