Skip to content

Commit

Permalink
fix: Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
khoover committed Oct 13, 2024
1 parent 1257f7c commit f149aa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/local/object_id/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl Serialize for RawObjectId {

struct RawObjectIdVisitor;

impl<'de> Visitor<'de> for RawObjectIdVisitor {
impl Visitor<'_> for RawObjectIdVisitor {
type Value = RawObjectId;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down
2 changes: 1 addition & 1 deletion src/local/room_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ mod serde {

struct RoomNameVisitor;

impl<'de> Visitor<'de> for RoomNameVisitor {
impl Visitor<'_> for RoomNameVisitor {
type Value = RoomName;

fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand Down

0 comments on commit f149aa7

Please sign in to comment.