mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 15:26:12 +00:00
Make round
module public
(so we don't need to show it in the main documentation)
This commit is contained in:
parent
819dea0480
commit
5237de6e0a
@ -532,7 +532,7 @@ pub use offset::LocalResult;
|
||||
#[doc(inline)]
|
||||
pub use offset::{FixedOffset, Offset, TimeZone, Utc};
|
||||
|
||||
mod round;
|
||||
pub mod round;
|
||||
pub use round::{DurationRound, RoundingError, SubsecRound};
|
||||
|
||||
mod weekday;
|
||||
|
@ -1,6 +1,8 @@
|
||||
// This is a part of Chrono.
|
||||
// See README.md and LICENSE.txt for details.
|
||||
|
||||
//! Functionality for rounding or truncating a `DateTime` by a `Duration`.
|
||||
|
||||
use crate::datetime::DateTime;
|
||||
use crate::duration::Duration;
|
||||
use crate::NaiveDateTime;
|
||||
|
Loading…
x
Reference in New Issue
Block a user