Skip to content

Commit

Permalink
Make some traits pub(crate) if they are able to be made pub(crate) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc authored Dec 8, 2023
1 parent 8da49e0 commit a340601
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/datetime/src/datetime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use icu_provider::prelude::*;
use writeable::Writeable;

use crate::{
calendar, input::DateInput, input::DateTimeInput, input::IsoTimeInput, CldrCalendar,
calendar, calendar::CldrCalendar, input::DateInput, input::DateTimeInput, input::IsoTimeInput,
DateTimeError, FormattedDateTime,
};

Expand Down
3 changes: 2 additions & 1 deletion components/datetime/src/zoned_datetime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use writeable::Writeable;

use crate::{
calendar,
calendar::CldrCalendar,
format::zoned_datetime::FormattedZonedDateTime,
input::{DateTimeInput, TimeZoneInput},
options::DateTimeFormatterOptions,
Expand All @@ -22,7 +23,7 @@ use crate::{
},
raw,
time_zone::TimeZoneFormatterOptions,
CldrCalendar, DateTimeError,
DateTimeError,
};

/// The composition of [`TypedDateTimeFormatter`](crate::TypedDateTimeFormatter) and [`TimeZoneFormatter`].
Expand Down
2 changes: 1 addition & 1 deletion experimental/zerotrie/src/builder/nonconst/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use alloc::collections::VecDeque;
use alloc::vec::Vec;

/// A trait applied to a data structure for building a ZeroTrie.
pub trait TrieBuilderStore {
pub(crate) trait TrieBuilderStore {
/// Create a new empty store.
fn atbs_new_empty() -> Self;

Expand Down

0 comments on commit a340601

Please sign in to comment.