about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2021-10-11 12:26:27 -0700
committerGitHub <noreply@github.com>2021-10-11 12:26:27 -0700
commite56d89ae6299f6820afc046c0d040594ce2ff8d6 (patch)
tree107203bc627c2554341578fb643d8ec783dc0844
parent1067e2ca5e9cfe5c79f956e49ffc684c5142d49b (diff)
Add missing words in `Infallible` docs
This sentence was previously incomplete.
-rw-r--r--library/core/src/convert/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs
index abeeef1a17e..56d25c80d2e 100644
--- a/library/core/src/convert/mod.rs
+++ b/library/core/src/convert/mod.rs
@@ -662,7 +662,7 @@ impl AsMut<str> for str {
 ///
 /// However there is one case where `!` syntax can be used
 /// before `!` is stabilized as a full-fledged type: in the position of a function’s return type.
-/// Specifically, it is possible implementations for two different function pointer types:
+/// Specifically, it is possible to have implementations for two different function pointer types:
 ///
 /// ```
 /// trait MyTrait {}