From 4fd0ddd9dc505d5755b54adc8398d5d8431e46d2 Mon Sep 17 00:00:00 2001 From: Chareonwit Kunna <21arenabreakout12@gmail.com> Date: Sun, 22 Nov 2026 10:57:24 +0700 Subject: [PATCH 1/2] docs: fix doubled word Signed-off-by: Chareonwit Kunna <21arenabreakout12@gmail.com> --- src/types/closure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {} From 80e828a04b7b85ca8b73bdd136b3902da50acf83 Mon Sep 17 00:00:00 2001 From: Chareonwit Kunna <21arenabreakout12@gmail.com> Date: Sun, 22 Nov 2026 10:57:28 +0700 Subject: [PATCH 2/2] docs: fix typo Signed-off-by: Chareonwit Kunna <21arenabreakout12@gmail.com> --- src/names/name-resolution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::*;