Skip to content

Commit

Permalink
Rollup merge of #61458 - fabric-and-ink:doc-typo, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix typo in AsRef doc
  • Loading branch information
Centril authored Jun 2, 2019
2 parents d70f288 + 9583398 commit aaf264b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub const fn identity<T>(x: T) -> T { x }
/// # Examples
///
/// By using trait bounds we can accept arguments of different types as long as they can be
/// converted a the specified type `T`.
/// converted to the specified type `T`.
///
/// For example: By creating a generic function that takes an `AsRef<str>` we express that we
/// want to accept all references that can be converted to `&str` as an argument.
Expand Down

0 comments on commit aaf264b

Please sign in to comment.