Skip to content

Commit

Permalink
Merge pull request #431 from dtolnay/doccfg
Browse files Browse the repository at this point in the history
Restore documented cfg on LineColumn
  • Loading branch information
dtolnay authored Jan 1, 2024
2 parents df4fa83 + 014fa82 commit 708540b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ use std::error::Error;
use std::path::PathBuf;

#[cfg(span_locations)]
#[cfg_attr(doc_cfg, doc(cfg(feature = "span-locations")))]
pub use crate::location::LineColumn;

/// An abstract stream of tokens, or more concretely a sequence of token trees.
Expand Down

0 comments on commit 708540b

Please sign in to comment.