Fix typo in AsRef doc

This commit is contained in:
Fabian Drinck 2019-06-02 14:12:06 +02:00
parent 538e17a3fd
commit 9583398923

View File

@ -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.