Skip to content

Commit f83c57b

Browse files
authored
Fix typos (#1079)
1 parent 0b1bdbb commit f83c57b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/borrow_check/region_inference/placeholders_and_universes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn main() {
2121
```
2222

2323
This program ought not to type-check: `foo` needs a static reference
24-
for its argument, and `bar` wants to be given a function that that
24+
for its argument, and `bar` wants to be given a function that
2525
accepts **any** reference (so it can call it with something on its
2626
stack, for example). But *how* do we reject it and *why*?
2727

src/contributing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ git subtree pull -P src/tools/clippy https://github.com/rust-lang/rust-clippy ma
191191
```
192192

193193
takes all changes since the last `subtree pull` from the tool repo
194-
repo and adds these commits to the rustc repo + a merge commit that moves the tool changes into
194+
and adds these commits to the rustc repo + a merge commit that moves the tool changes into
195195
the specified directory in the rust repository.
196196

197197
It is recommended that you always do a push first and get that merged to the tool master branch.

0 commit comments

Comments
 (0)