about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2023-07-28 14:46:17 +0200
committerGitHub <noreply@github.com>2023-07-28 14:46:17 +0200
commit0457eda673b5b27f4740ff3b50bf90c8f2870e2d (patch)
tree1a3cb5e3dee53ec86f738b762db528a60cbbe95e
parente4c98caffe505630f8531fbb73949b40db918a48 (diff)
downloadrust-0457eda673b5b27f4740ff3b50bf90c8f2870e2d.tar.gz
rust-0457eda673b5b27f4740ff3b50bf90c8f2870e2d.zip
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