Skip to content

Commit 8584c7c

Browse files
committed
chore(doctest): Remove redundant blank lines
1 parent fe5c95d commit 8584c7c

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

library/core/src/num/int_macros.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ macro_rules! int_impl {
239239
/// Basic usage:
240240
///
241241
/// ```
242-
///
243242
#[doc = concat!("let n = -1", stringify!($SelfT), ";")]
244243
///
245244
#[doc = concat!("assert_eq!(n.cast_unsigned(), ", stringify!($UnsignedT), "::MAX);")]

library/core/src/num/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,6 @@ impl u8 {
10531053
/// # Examples
10541054
///
10551055
/// ```
1056-
///
10571056
/// assert_eq!("0", b'0'.escape_ascii().to_string());
10581057
/// assert_eq!("\\t", b'\t'.escape_ascii().to_string());
10591058
/// assert_eq!("\\r", b'\r'.escape_ascii().to_string());

library/core/src/slice/ascii.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ impl [u8] {
128128
/// # Examples
129129
///
130130
/// ```
131-
///
132131
/// let s = b"0\t\r\n'\"\\\x9d";
133132
/// let escaped = s.escape_ascii().to_string();
134133
/// assert_eq!(escaped, "0\\t\\r\\n\\'\\\"\\\\\\x9d");

0 commit comments

Comments
 (0)