summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-14 10:58:46 +0100
committerGitHub <noreply@github.com>2022-12-14 10:58:46 +0100
commit549ba2e1983b4fb8eb916979705bcc38a1e08f7b (patch)
treeaa49fff2b8ad0e61c4d1714098dad842e4676ebd
parentdc30b92cc576ed9e097db7fece0af13662de8d8d (diff)
parentc3329ba63a8ee9f361bec72dc90b97be93e0ca11 (diff)
downloadrust-549ba2e1983b4fb8eb916979705bcc38a1e08f7b.tar.gz
rust-549ba2e1983b4fb8eb916979705bcc38a1e08f7b.zip
Rollup merge of #105642 - uberFoo:master, r=Dylan-DPC
Minor grammar nit.

I was browsing the documentation and noticed that this should be an adverb.
-rw-r--r--library/core/src/borrow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/borrow.rs b/library/core/src/borrow.rs
index fdd56cb4eaa..4a8302ee404 100644
--- a/library/core/src/borrow.rs
+++ b/library/core/src/borrow.rs
@@ -26,7 +26,7 @@
 /// to be modified, it can additionally implement [`BorrowMut<T>`].
 ///
 /// Further, when providing implementations for additional traits, it needs
-/// to be considered whether they should behave identical to those of the
+/// to be considered whether they should behave identically to those of the
 /// underlying type as a consequence of acting as a representation of that
 /// underlying type. Generic code typically uses `Borrow<T>` when it relies
 /// on the identical behavior of these additional trait implementations.