diff options
| author | Eric Huss <eric@huss.org> | 2025-02-13 09:03:27 -0800 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2025-02-13 13:10:27 -0800 |
| commit | 890530e1860e14ca305b77af4903166e583b89b8 (patch) | |
| tree | 548d13f7700957c5b6aef77adccd8e7a09b4c66a /library/alloc/src | |
| parent | 0aa634e71a6c1b4d4866218bc3d543b3189615a6 (diff) | |
| download | rust-890530e1860e14ca305b77af4903166e583b89b8.tar.gz rust-890530e1860e14ca305b77af4903166e583b89b8.zip | |
alloc: Workaround hidden doctest line
A small workaround for https://github.com/rust-lang/rust/issues/136899, rustdoc's invalid_rust_codeblocks was not handling this well in 2024. This may be needed when migrating to 2024 when building with stage0.
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/boxed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs index 8b38e6fc259..26f24c84ff0 100644 --- a/library/alloc/src/boxed.rs +++ b/library/alloc/src/boxed.rs @@ -24,7 +24,7 @@ //! Creating a recursive data structure: //! //! ``` -//! ##[allow(dead_code)] +//! # #[allow(dead_code)] //! #[derive(Debug)] //! enum List<T> { //! Cons(T, Box<List<T>>), |
