Skip to content

Commit

Permalink
style: Remove unnecessary commas
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed Sep 23, 2024
1 parent 2e68a36 commit f667084
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion time/src/offset_date_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl OffsetDateTime {
/// ```rust
/// # use time::OffsetDateTime;
/// # use time_macros::datetime;
/// assert_eq!(OffsetDateTime::UNIX_EPOCH, datetime!(1970-01-01 0:00 UTC),);
/// assert_eq!(OffsetDateTime::UNIX_EPOCH, datetime!(1970-01-01 0:00 UTC));
/// ```
pub const UNIX_EPOCH: Self = Self::new_in_offset(
// Safety: `ordinal` is not zero.
Expand Down
2 changes: 1 addition & 1 deletion time/src/serde/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer};
/// ```
///
/// [`format_description::parse()`]: crate::format_description::parse()
#[cfg(all(feature = "macros", any(feature = "formatting", feature = "parsing"),))]
#[cfg(all(feature = "macros", any(feature = "formatting", feature = "parsing")))]
pub use time_macros::serde_format_description as format_description;

use self::visitor::Visitor;
Expand Down

0 comments on commit f667084

Please sign in to comment.