diff --git a/src/names/name-resolution.md b/src/names/name-resolution.md index cd27be47b5..a830723c8d 100644 --- a/src/names/name-resolution.md +++ b/src/names/name-resolution.md @@ -161,7 +161,7 @@ mod m2 { pub struct Ambig; } -// OK: This brings conficting names in the same namespace into scope +// OK: This brings conflicting names in the same namespace into scope // but they have not been used yet. use m1::*; use m2::*; diff --git a/src/types/closure.md b/src/types/closure.md index 85f5908e2e..decd0ca914 100644 --- a/src/types/closure.md +++ b/src/types/closure.md @@ -697,7 +697,7 @@ If the async closure is lending to its `Future`, then [`FnMut`] and [`Fn`] are * > } > ``` > -> The exception of the the second clause can be illustrated by using a dereference, which does allow `Fn` and `FnMut` to be implemented: +> The exception of the second clause can be illustrated by using a dereference, which does allow `Fn` and `FnMut` to be implemented: > > ```rust > fn takes_callback(c: impl Fn() -> Fut) {}