diff options
| author | Shun Sakai <sorairolake@protonmail.ch> | 2025-06-12 16:29:09 +0900 | 
|---|---|---|
| committer | Shun Sakai <sorairolake@protonmail.ch> | 2025-06-12 16:29:09 +0900 | 
| commit | 8584c7c6a4441ee5d1500bc80816ce6c1eb026c9 (patch) | |
| tree | 82ff2ec89dbce0a63b0d13c00244363f36f4cfc7 | |
| parent | fe5c95d4ae33ec9d7831921e448e2daf8264ea42 (diff) | |
| download | rust-8584c7c6a4441ee5d1500bc80816ce6c1eb026c9.tar.gz rust-8584c7c6a4441ee5d1500bc80816ce6c1eb026c9.zip  | |
chore(doctest): Remove redundant blank lines
| -rw-r--r-- | library/core/src/num/int_macros.rs | 1 | ||||
| -rw-r--r-- | library/core/src/num/mod.rs | 1 | ||||
| -rw-r--r-- | library/core/src/slice/ascii.rs | 1 | 
3 files changed, 0 insertions, 3 deletions
diff --git a/library/core/src/num/int_macros.rs b/library/core/src/num/int_macros.rs index 65560f63c18..3a7bc902f93 100644 --- a/library/core/src/num/int_macros.rs +++ b/library/core/src/num/int_macros.rs @@ -239,7 +239,6 @@ macro_rules! int_impl { /// Basic usage: /// /// ``` - /// #[doc = concat!("let n = -1", stringify!($SelfT), ";")] /// #[doc = concat!("assert_eq!(n.cast_unsigned(), ", stringify!($UnsignedT), "::MAX);")] diff --git a/library/core/src/num/mod.rs b/library/core/src/num/mod.rs index 5c73bddbef2..ab2fcff61cd 100644 --- a/library/core/src/num/mod.rs +++ b/library/core/src/num/mod.rs @@ -1053,7 +1053,6 @@ impl u8 { /// # Examples /// /// ``` - /// /// assert_eq!("0", b'0'.escape_ascii().to_string()); /// assert_eq!("\\t", b'\t'.escape_ascii().to_string()); /// assert_eq!("\\r", b'\r'.escape_ascii().to_string()); diff --git a/library/core/src/slice/ascii.rs b/library/core/src/slice/ascii.rs index d91f8bba548..b4d9a1b1ca4 100644 --- a/library/core/src/slice/ascii.rs +++ b/library/core/src/slice/ascii.rs @@ -128,7 +128,6 @@ impl [u8] { /// # Examples /// /// ``` - /// /// let s = b"0\t\r\n'\"\\\x9d"; /// let escaped = s.escape_ascii().to_string(); /// assert_eq!(escaped, "0\\t\\r\\n\\'\\\"\\\\\\x9d");  | 
