File tree 1 file changed +3
-2
lines changed
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> {
251
251
///
252
252
/// # Examples
253
253
///
254
- /// [`String`] implements `Into< Vec<u8 >>`:
254
+ /// [`String`] implements [ `Into`]`<`[` Vec`]`<`[`u8`]` >>`:
255
255
///
256
256
/// In order to express that we want a generic function to take all arguments that can be
257
257
/// converted to a specified type `T`, we can use a trait bound of [`Into`]`<T>`.
258
258
/// For example: The function `is_hello` takes all arguments that can be converted into a
259
- /// `Vec<u8 >`.
259
+ /// [ `Vec`]`<`[`u8`]` >`.
260
260
///
261
261
/// ```
262
262
/// fn is_hello<T: Into<Vec<u8>>>(s: T) {
@@ -274,6 +274,7 @@ pub trait AsMut<T: ?Sized> {
274
274
/// [`String`]: ../../std/string/struct.String.html
275
275
/// [`From`]: trait.From.html
276
276
/// [`Into`]: trait.Into.html
277
+ /// [`Vec`]: ../../std/vec/struct.Vec.html
277
278
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
278
279
pub trait Into < T > : Sized {
279
280
/// Performs the conversion.
You can’t perform that action at this time.
0 commit comments