Skip to content

Commit 117cac3

Browse files
committed
Fix a small typo in the example.
1 parent f4694db commit 117cac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-impl-only-use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct Zoo { // wait, what happens here?
4949

5050
fn main() {
5151
let x = "foo";
52-
let y = x.zoo(); // won’t compile because `zoo::Zoo` not in scope
52+
let y = x.zoo();
5353
}
5454
```
5555

0 commit comments

Comments
 (0)