Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Oct 15, 2024
1 parent ebd2e87 commit f1162f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/datetime/src/neo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1530,11 +1530,11 @@ impl<FSet: DateTimeMarkers> NeoFormatter<FSet> {
/// Err(MismatchedCalendarError { .. })
/// ));
/// ```
pub fn try_into_typed_formatter<C: CldrCalendar>(
pub fn try_into_typed_formatter<C>(
self,
) -> Result<TypedNeoFormatter<C, FSet>, MismatchedCalendarError>
where
C: IntoAnyCalendar,
C: CldrCalendar + IntoAnyCalendar,
{
if let Err(cal) = C::from_any(self.calendar) {
return Err(MismatchedCalendarError {
Expand Down

0 comments on commit f1162f0

Please sign in to comment.