Skip to content

Commit 9583398

Browse files
Fix typo in AsRef doc
1 parent 538e17a commit 9583398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/convert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ pub const fn identity<T>(x: T) -> T { x }
129129
/// # Examples
130130
///
131131
/// By using trait bounds we can accept arguments of different types as long as they can be
132-
/// converted a the specified type `T`.
132+
/// converted to the specified type `T`.
133133
///
134134
/// For example: By creating a generic function that takes an `AsRef<str>` we express that we
135135
/// want to accept all references that can be converted to `&str` as an argument.

0 commit comments

Comments
 (0)