aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/style.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/dev/style.md')
-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