Skip to content

remove extraneous text #142105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions library/alloc/src/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,6 @@ impl<T> [T] {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// assert_eq!([1, 2].repeat(3), vec![1, 2, 1, 2, 1, 2]);
/// ```
Expand Down
4 changes: 0 additions & 4 deletions library/alloc/src/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ impl str {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// let s = "this is old";
///
Expand Down Expand Up @@ -303,8 +301,6 @@ impl str {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// let s = "foo foo 123 foo";
/// assert_eq!("new new 123 foo", s.replacen("foo", "new", 2));
Expand Down
33 changes: 0 additions & 33 deletions library/core/src/num/nonzero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// # use std::num::NonZero;
/// #
Expand Down Expand Up @@ -583,8 +581,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// # use std::num::NonZero;
/// #
Expand Down Expand Up @@ -612,8 +608,6 @@ macro_rules! nonzero_integer {
///
/// # Example
///
/// Basic usage:
///
/// ```
/// #![feature(isolate_most_least_significant_one)]
///
Expand Down Expand Up @@ -644,8 +638,6 @@ macro_rules! nonzero_integer {
///
/// # Example
///
/// Basic usage:
///
/// ```
/// #![feature(isolate_most_least_significant_one)]
///
Expand Down Expand Up @@ -676,8 +668,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// # use std::num::NonZero;
/// #
Expand Down Expand Up @@ -713,8 +703,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// #![feature(nonzero_bitwise)]
/// # use std::num::NonZero;
Expand Down Expand Up @@ -746,8 +734,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// #![feature(nonzero_bitwise)]
/// # use std::num::NonZero;
Expand Down Expand Up @@ -775,8 +761,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// #![feature(nonzero_bitwise)]
/// # use std::num::NonZero;
Expand Down Expand Up @@ -805,8 +789,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// #![feature(nonzero_bitwise)]
/// # use std::num::NonZero;
Expand Down Expand Up @@ -837,8 +819,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// #![feature(nonzero_bitwise)]
/// # use std::num::NonZero;
Expand Down Expand Up @@ -872,8 +852,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// #![feature(nonzero_bitwise)]
/// # use std::num::NonZero;
Expand Down Expand Up @@ -907,8 +885,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// #![feature(nonzero_bitwise)]
/// # use std::num::NonZero;
Expand Down Expand Up @@ -942,8 +918,6 @@ macro_rules! nonzero_integer {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// #![feature(nonzero_bitwise)]
/// # use std::num::NonZero;
Expand Down Expand Up @@ -1635,8 +1609,6 @@ macro_rules! nonzero_integer_signedness_dependent_methods {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// # use std::num::NonZero;
/// #
Expand Down Expand Up @@ -1666,7 +1638,6 @@ macro_rules! nonzero_integer_signedness_dependent_methods {
///
/// # Examples
///
/// Basic usage:
/// ```
/// # use std::num::NonZero;
/// #
Expand Down Expand Up @@ -1699,8 +1670,6 @@ macro_rules! nonzero_integer_signedness_dependent_methods {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// # use std::num::NonZero;
///
Expand Down Expand Up @@ -2138,8 +2107,6 @@ macro_rules! nonzero_integer_signedness_dependent_methods {
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// # use std::num::NonZero;
///
Expand Down
Loading