Skip to content

Commit

Permalink
Add doc alias, guarantee non-inlining
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Nov 19, 2023
1 parent 72f03e0 commit bd92ba9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion time/src/format_description/well_known/iso8601.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mod adt_hack;

use core::num::NonZeroU8;

#[doc(hidden)]
#[doc(hidden, no_inline)]
pub use self::adt_hack::DoNotRelyOnWhatThisIs;
pub use self::adt_hack::EncodedConfig;

Expand Down
1 change: 1 addition & 0 deletions time/src/parsing/parsable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use crate::{error, Date, DateTime, Month, Time, UtcOffset, Weekday};

/// A type that can be parsed.
#[cfg_attr(__time_03_docs, doc(notable_trait))]
#[doc(alias = "Parseable")]
pub trait Parsable: sealed::Sealed {}
impl Parsable for FormatItem<'_> {}
impl Parsable for [FormatItem<'_>] {}
Expand Down

0 comments on commit bd92ba9

Please sign in to comment.