From 02edc7e4ffde4c020832f5248cd4fc12650d9810 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Sun, 15 Jul 2018 10:16:36 +1000 Subject: [PATCH] AsRef doc wording tweaks --- src/libcore/convert.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index 7324df95bc5..11cc4ffecf0 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -63,9 +63,9 @@ /// /// The key difference between the two traits is the intention: /// -/// - Use `AsRef` when goal is to simply convert into a reference -/// - Use `Borrow` when goal is related to writing code that is agnostic to the -/// type of borrow and if is reference or value +/// - Use `AsRef` when the goal is to simply convert into a reference +/// - Use `Borrow` when the goal is related to writing code that is agnostic to +/// the type of borrow and whether it is a reference or value /// /// See [the book][book] for a more detailed comparison. ///