Skip to content

Commit 0062530

Browse files
committed
collect.rs: remove empty line after doc comment
1 parent bbc13fc commit 0062530

File tree

6 files changed

+3
-8
lines changed

6 files changed

+3
-8
lines changed

library/core/src/fmt/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,6 @@ impl Display for Arguments<'_> {
850850
/// }";
851851
/// assert_eq!(format!("The origin is: {origin:#?}"), expected);
852852
/// ```
853-
854853
#[stable(feature = "rust1", since = "1.0.0")]
855854
#[rustc_on_unimplemented(
856855
on(

library/core/src/iter/traits/collect.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ pub trait Extend<A> {
436436
/// **For implementors:** For a collection to unsafely rely on this method's safety precondition (that is,
437437
/// invoke UB if they are violated), it must implement `extend_reserve` correctly. In other words,
438438
/// callers may assume that if they `extend_reserve`ed enough space they can call this method.
439-
440439
// This method is for internal usage only. It is only on the trait because of specialization's limitations.
441440
#[unstable(feature = "extend_one_unchecked", issue = "none")]
442441
#[doc(hidden)]

library/core/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
//! return. You should mark your implementation using `#[panic_handler]`.
4040
//!
4141
//! * `rust_eh_personality` - is used by the failure mechanisms of the
42-
//! compiler. This is often mapped to GCC's personality function, but crates
43-
//! which do not trigger a panic can be assured that this function is never
44-
//! called. The `lang` attribute is called `eh_personality`.
42+
//! compiler. This is often mapped to GCC's personality function, but crates
43+
//! which do not trigger a panic can be assured that this function is never
44+
//! called. The `lang` attribute is called `eh_personality`.
4545
4646
#![stable(feature = "core", since = "1.6.0")]
4747
#![doc(

library/core/src/net/ip_addr.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,6 @@ impl Ipv4Addr {
787787
/// [IANA IPv4 Special-Purpose Address Registry]: https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
788788
/// [unspecified address]: Ipv4Addr::UNSPECIFIED
789789
/// [broadcast address]: Ipv4Addr::BROADCAST
790-
791790
///
792791
/// # Examples
793792
///

library/core/src/primitive_docs.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,6 @@ mod prim_f16 {}
13671367
/// x = a + b + c + d; // As written
13681368
/// x = (a + c) + (b + d); // Reordered to shorten critical path and enable vectorization
13691369
/// ```
1370-
13711370
#[stable(feature = "rust1", since = "1.0.0")]
13721371
mod prim_f32 {}
13731372

library/core/src/str/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2648,7 +2648,6 @@ impl str {
26482648
/// you're trying to parse into.
26492649
///
26502650
/// `parse` can parse into any type that implements the [`FromStr`] trait.
2651-
26522651
///
26532652
/// # Errors
26542653
///

0 commit comments

Comments
 (0)