Skip to content

Commit

Permalink
chrore: fixup rust 1.83 formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo committed Dec 2, 2024
1 parent 057aa1f commit b786827
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion der/src/referenced.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ impl<T> OwnedToRef for Option<T>
where
T: OwnedToRef,
{
type Borrowed<'a> = Option<T::Borrowed<'a>> where T: 'a;
type Borrowed<'a>
= Option<T::Borrowed<'a>>
where
T: 'a;

fn owned_to_ref(&self) -> Self::Borrowed<'_> {
self.as_ref().map(|o| o.owned_to_ref())
Expand Down

0 comments on commit b786827

Please sign in to comment.