From 6351ef7485c5aa99b81b8b56b5951478b93be719 Mon Sep 17 00:00:00 2001 From: Jan Starke Date: Tue, 30 Jul 2024 15:51:54 +0200 Subject: [PATCH] remove reference --- src/bin/evtxanalyze/sessions/session.rs | 2 +- src/bin/evtxanalyze/sessions/session_event.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/evtxanalyze/sessions/session.rs b/src/bin/evtxanalyze/sessions/session.rs index f1119df..71522a7 100644 --- a/src/bin/evtxanalyze/sessions/session.rs +++ b/src/bin/evtxanalyze/sessions/session.rs @@ -108,7 +108,7 @@ impl Session { where W: Write, { - writer.serialize(&Into::::into(self)) + writer.serialize(Into::::into(self)) } pub fn is_anonymous(&self) -> bool { diff --git a/src/bin/evtxanalyze/sessions/session_event.rs b/src/bin/evtxanalyze/sessions/session_event.rs index a23b56e..e918db3 100644 --- a/src/bin/evtxanalyze/sessions/session_event.rs +++ b/src/bin/evtxanalyze/sessions/session_event.rs @@ -48,7 +48,7 @@ impl SessionEvent { where W: Write, { - writer.serialize(&Into::::into(self)) + writer.serialize(Into::::into(self)) } }