diff options
Diffstat (limited to 'docs/dev/style.md')
-rw-r--r-- | docs/dev/style.md | 2 |
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> { | |||
401 | Use `<`/`<=`, avoid `>`/`>=`. | 401 | Use `<`/`<=`, avoid `>`/`>=`. |
402 | Less-then comparisons are more intuitive, they correspond spatially to [real line](https://en.wikipedia.org/wiki/Real_line) | 402 | Less-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 |
406 | assert!(lo <= x && x <= hi); | 406 | assert!(lo <= x && x <= hi); |
407 | 407 | ||