Skip to content

Commit

Permalink
alloc: Workaround hidden doctest line
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ehuss authored and gitbot committed Feb 22, 2025
1 parent 1a24168 commit c2b4dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alloc/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>>),
Expand Down

0 comments on commit c2b4dd8

Please sign in to comment.