Skip to content

Commit d71cd0f

Browse files
committed
fix: turn into_inner into methods
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent 8c84591 commit d71cd0f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-tokio"
3-
version = "0.5.6"
3+
version = "0.5.7"
44
description = "Streaming WebAssembly codec based on Tokio"
55

66
authors.workspace = true

src/cm/values.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,8 @@ pub struct TupleDecoder<C, V> {
646646
}
647647

648648
impl<C, V> TupleDecoder<C, V> {
649-
pub fn into_inner(TupleDecoder { dec, .. }: Self) -> C {
650-
dec
649+
pub fn into_inner(self) -> C {
650+
self.dec
651651
}
652652
}
653653

src/core.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ where
152152
}
153153
}
154154

155-
pub fn into_inner(CoreVecDecoder { dec, .. }: Self) -> T {
156-
dec
155+
pub fn into_inner(self) -> T {
156+
self.dec
157157
}
158158
}
159159

0 commit comments

Comments
 (0)