Skip to content

Commit be80fe7

Browse files
committed
Rollup merge of rust-lang#25181 - steveklabnik:fix_curlies, r=alexcrichton
2 parents 4ef506f + 0749991 commit be80fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Here’s the error:
192192
```text
193193
error: type `std::fs::File` does not implement any method in scope named `write`
194194
195-
let result = f.write(bwhatever);
195+
let result = f.write(b"whatever");
196196
^~~~~~~~~~~~~~~~~~
197197
```
198198

0 commit comments

Comments
 (0)