Skip to content

Commit ccc80c1

Browse files
committed
silence warnings
1 parent 4d3d48a commit ccc80c1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crates/wasmi/src/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ impl Error {
129129
}
130130

131131
/// Returns `true` if the [`Error`] represents an out-of-fuel error.
132+
#[expect(unused)] // TODO: resolve unused API - used in resumable function calling
132133
pub(crate) fn is_out_of_fuel(&self) -> bool {
133134
matches!(
134135
self.kind(),

crates/wasmi/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,13 @@ mod core {
124124
Memory as CoreMemory,
125125
MemoryType as CoreMemoryType,
126126
MemoryTypeBuilder as CoreMemoryTypeBuilder,
127-
ReadAs,
128127
ResourceLimiterRef,
129128
Table as CoreTable,
130129
TableType as CoreTableType,
131130
Typed,
132131
TypedVal,
133132
UntypedError,
134133
UntypedVal,
135-
WriteAs,
136134
};
137135
}
138136

0 commit comments

Comments
 (0)