about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorShaleen Jain <shaleen@jain.sh>2019-12-13 23:20:02 +0530
committerGitHub <noreply@github.com>2019-12-13 23:20:02 +0530
commit9abde64a4ec36469612ad0da99893d9ee817d32c (patch)
tree9945bb743928244e013793e54eb94a55010f8a88 /src
parent3964a55ba59bb6c3d4badcbddc49f6929ef76862 (diff)
downloadrust-9abde64a4ec36469612ad0da99893d9ee817d32c.tar.gz
rust-9abde64a4ec36469612ad0da99893d9ee817d32c.zip
docs: std::convert::From: Fix typo
Fix a minor typo
Diffstat (limited to 'src')
-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.