diff --git a/docs/user/features.md b/docs/user/features.md index f89d8c4891..0ce8f577b3 100644 --- a/docs/user/features.md +++ b/docs/user/features.md @@ -176,7 +176,7 @@ fn example(x: bool) -> bool { // after: fn example(x: bool) -> bool { - !(x && !x) + !(x && x) } ```