Skip to content

Commit 708540b

Browse files
authored
Merge pull request dtolnay#431 from dtolnay/doccfg
Restore documented cfg on LineColumn
2 parents df4fa83 + 014fa82 commit 708540b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ use std::error::Error;
171171
use std::path::PathBuf;
172172

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

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

0 commit comments

Comments
 (0)