about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-13 20:35:37 +0100
committerGitHub <noreply@github.com>2019-12-13 20:35:37 +0100
commitd0cc289ec0fa35de2aa35df5445ebca332ccf4f6 (patch)
treeaef10f8deddfd5d9be1091843939e54d1dd6fde1
parent0f30462efa750f26ffecdb7c6099d25f5cd97078 (diff)
parent9abde64a4ec36469612ad0da99893d9ee817d32c (diff)
downloadrust-d0cc289ec0fa35de2aa35df5445ebca332ccf4f6.tar.gz
rust-d0cc289ec0fa35de2aa35df5445ebca332ccf4f6.zip
Rollup merge of #67280 - shalzz:patch-1, r=jonas-schievink
docs: std::convert::From: Fix typo

Fix a minor typo
-rw-r--r--src/libcore/convert/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/convert/mod.rs b/src/libcore/convert/mod.rs
index 5414d9ac234..b7db3e4197d 100644
--- a/src/libcore/convert/mod.rs
+++ b/src/libcore/convert/mod.rs
@@ -291,7 +291,7 @@ pub trait Into<T>: Sized {
 /// [`Into`].
 ///
 /// One should always prefer implementing `From` over [`Into`]
-/// because implementing `From` automatically provides one with a implementation of [`Into`]
+/// because implementing `From` automatically provides one with an implementation of [`Into`]
 /// thanks to the blanket implementation in the standard library.
 ///
 /// Only implement [`Into`] if a conversion to a type outside the current crate is required.