about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-07-29 06:13:08 +0200
committerGitHub <noreply@github.com>2023-07-29 06:13:08 +0200
commitc6c1008b187e38e0b6cebff016cc7efc88f233c0 (patch)
treefc05a0214925b93452378d522edb10e662714d8c
parentc528bddd6d3a853972ee8bdfcd7d6af0273f4ac7 (diff)
parent0457eda673b5b27f4740ff3b50bf90c8f2870e2d (diff)
downloadrust-c6c1008b187e38e0b6cebff016cc7efc88f233c0.tar.gz
rust-c6c1008b187e38e0b6cebff016cc7efc88f233c0.zip
Rollup merge of #114174 - tshepang:patch-6, r=workingjubilee
doc: replace wrong punctuation mark
-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 efc9ada3891..bc026d0a446 100644
--- a/library/core/src/borrow.rs
+++ b/library/core/src/borrow.rs
@@ -22,7 +22,7 @@
 /// Types express that they can be borrowed as some type `T` by implementing
 /// `Borrow<T>`, providing a reference to a `T` in the trait’s
 /// [`borrow`] method. A type is free to borrow as several different types.
-/// If it wishes to mutably borrow as the type – allowing the underlying data
+/// If it wishes to mutably borrow as the type, allowing the underlying data
 /// to be modified, it can additionally implement [`BorrowMut<T>`].
 ///
 /// Further, when providing implementations for additional traits, it needs