Skip to content

Commit 9abde64

Browse files
authored
docs: std::convert::From: Fix typo
Fix a minor typo
1 parent 3964a55 commit 9abde64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/convert/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ pub trait Into<T>: Sized {
291291
/// [`Into`].
292292
///
293293
/// One should always prefer implementing `From` over [`Into`]
294-
/// because implementing `From` automatically provides one with a implementation of [`Into`]
294+
/// because implementing `From` automatically provides one with an implementation of [`Into`]
295295
/// thanks to the blanket implementation in the standard library.
296296
///
297297
/// Only implement [`Into`] if a conversion to a type outside the current crate is required.

0 commit comments

Comments
 (0)