File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -251,12 +251,12 @@ pub trait AsMut<T: ?Sized> {
251251///
252252/// # Examples
253253///
254- /// [`String`] implements `Into< Vec<u8 >>`:
254+ /// [`String`] implements [ `Into`]`<`[` Vec`]`<`[`u8`]` >>`:
255255///
256256/// In order to express that we want a generic function to take all arguments that can be
257257/// converted to a specified type `T`, we can use a trait bound of [`Into`]`<T>`.
258258/// For example: The function `is_hello` takes all arguments that can be converted into a
259- /// `Vec<u8 >`.
259+ /// [ `Vec`]`<`[`u8`]` >`.
260260///
261261/// ```
262262/// fn is_hello<T: Into<Vec<u8>>>(s: T) {
@@ -274,6 +274,7 @@ pub trait AsMut<T: ?Sized> {
274274/// [`String`]: ../../std/string/struct.String.html
275275/// [`From`]: trait.From.html
276276/// [`Into`]: trait.Into.html
277+ /// [`Vec`]: ../../std/vec/struct.Vec.html
277278#[ stable( feature = "rust1" , since = "1.0.0" ) ]
278279pub trait Into < T > : Sized {
279280 /// Performs the conversion.
You can’t perform that action at this time.
0 commit comments