Skip to content

Commit bb25d99

Browse files
ehussgitbot
authored and
gitbot
committed
alloc: Workaround hidden doctest line
A small workaround for rust-lang#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.
1 parent 7a786cb commit bb25d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/boxed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
//! Creating a recursive data structure:
2525
//!
2626
//! ```
27-
//! ##[allow(dead_code)]
27+
//! # #[allow(dead_code)]
2828
//! #[derive(Debug)]
2929
//! enum List<T> {
3030
//! Cons(T, Box<List<T>>),

0 commit comments

Comments
 (0)