From 95833989230bb8f34137738eb6345b7b65262683 Mon Sep 17 00:00:00 2001 From: Fabian Drinck Date: Sun, 2 Jun 2019 14:12:06 +0200 Subject: [PATCH] Fix typo in AsRef doc --- src/libcore/convert.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index a2796ad0cf0b0..6215bf5cd6572 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -129,7 +129,7 @@ pub const fn identity(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` we express that we /// want to accept all references that can be converted to `&str` as an argument.