Skip to content

Commit f667084

Browse files
committed
style: Remove unnecessary commas
1 parent 2e68a36 commit f667084

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

time/src/offset_date_time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl OffsetDateTime {
7474
/// ```rust
7575
/// # use time::OffsetDateTime;
7676
/// # use time_macros::datetime;
77-
/// assert_eq!(OffsetDateTime::UNIX_EPOCH, datetime!(1970-01-01 0:00 UTC),);
77+
/// assert_eq!(OffsetDateTime::UNIX_EPOCH, datetime!(1970-01-01 0:00 UTC));
7878
/// ```
7979
pub const UNIX_EPOCH: Self = Self::new_in_offset(
8080
// Safety: `ordinal` is not zero.

time/src/serde/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer};
205205
/// ```
206206
///
207207
/// [`format_description::parse()`]: crate::format_description::parse()
208-
#[cfg(all(feature = "macros", any(feature = "formatting", feature = "parsing"),))]
208+
#[cfg(all(feature = "macros", any(feature = "formatting", feature = "parsing")))]
209209
pub use time_macros::serde_format_description as format_description;
210210

211211
use self::visitor::Visitor;

0 commit comments

Comments
 (0)