From 2b06b93268120f29bc0d2ae83aaaeb317617fcee Mon Sep 17 00:00:00 2001 From: timofey Date: Fri, 30 Jun 2023 22:28:16 +0000 Subject: [PATCH] simplify `o_deserialise` --- src/rstd/atomic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rstd/atomic.rs b/src/rstd/atomic.rs index b6d02f4..7992931 100644 --- a/src/rstd/atomic.rs +++ b/src/rstd/atomic.rs @@ -45,7 +45,7 @@ pub trait AtomicExt: Atomic { } fn o_deserialise<'a, Ctx: Context<'a>>(dectx: &mut dyn DeCtx<'a, Ctx>) -> AParseResult { - Self::a_deserialize(dectx.deserializer()) + Self::a_deserialize(dectx) } }