Skip to content

Commit

Permalink
Rollup merge of rust-lang#130931 - GuillaumeGomez:standalone-crate, r…
Browse files Browse the repository at this point in the history
…=notriddle

Rename `standalone` doctest attribute into `standalone_crate`

Following [zulip discussion](https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/Renaming.20code.20block.20.22standalone.22.20attribute.3F) and poll results.

r? `@notriddle`
  • Loading branch information
matthiaskrgr authored Sep 29, 2024
2 parents e36be64 + faa018e commit 2332c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/panic/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl<'a> Location<'a> {
///
/// # Examples
///
/// ```standalone
/// ```standalone_crate
/// use std::panic::Location;
///
/// /// Returns the [`Location`] at which it is called.
Expand Down

0 comments on commit 2332c3d

Please sign in to comment.