Skip to content

Commit 4a327e0

Browse files
authored
"errors with" is idiomatic in English
1 parent cae02ff commit 4a327e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/references-and-borrowing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ let v = vec![];
123123
foo(&v);
124124
```
125125

126-
errors with:
126+
will give us this error:
127127

128128
```text
129129
error: cannot borrow immutable borrowed content `*v` as mutable

0 commit comments

Comments
 (0)