Skip to content

Commit

Permalink
Merge pull request #1490 from dtolnay/docinline
Browse files Browse the repository at this point in the history
Fix useless re-exports section appearing in documentation at crate root
  • Loading branch information
dtolnay committed Jul 21, 2023
2 parents 3b42902 + 535246e commit 36a743a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ pub use crate::generics::{
pub use crate::generics::{ImplGenerics, Turbofish, TypeGenerics};

mod ident;
#[doc(inline)]
pub use crate::ident::Ident;

#[cfg(feature = "full")]
Expand All @@ -388,9 +389,11 @@ pub use crate::item::{
};

mod lifetime;
#[doc(inline)]
pub use crate::lifetime::Lifetime;

mod lit;
#[doc(inline)]
pub use crate::lit::{
Lit, LitBool, LitByte, LitByteStr, LitChar, LitFloat, LitInt, LitStr, StrStyle,
};
Expand Down

0 comments on commit 36a743a

Please sign in to comment.