Skip to content

Commit 4a33ece

Browse files
committed
Remove blank lines in AsRef documentation
1 parent b701d32 commit 4a33ece

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libcore/convert.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ pub const fn identity<T>(x: T) -> T { x }
104104
/// If you need to do a costly conversion it is better to implement [`From`] with type
105105
/// `&T` or write a custom function.
106106
///
107-
///
108107
/// `AsRef` has the same signature as [`Borrow`], but `Borrow` is different in few aspects:
109108
///
110109
/// - Unlike `AsRef`, `Borrow` has a blanket impl for any `T`, and can be used to accept either
@@ -149,7 +148,6 @@ pub const fn identity<T>(x: T) -> T { x }
149148
/// let s = "hello".to_string();
150149
/// is_hello(s);
151150
/// ```
152-
///
153151
#[stable(feature = "rust1", since = "1.0.0")]
154152
pub trait AsRef<T: ?Sized> {
155153
/// Performs the conversion.

0 commit comments

Comments
 (0)