Skip to content

Commit 77891db

Browse files
committed
Tweak lifetime syntax to dodge a warning in Rust 1.90 nightly.
1 parent c0d71c4 commit 77891db

File tree

1 file changed

+1
-1
lines changed
  • crates/wit-component/src/encoding

1 file changed

+1
-1
lines changed

crates/wit-component/src/encoding/world.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl<'a> ComponentWorld<'a> {
9090
///
9191
/// Return an error if we need to use an exported malloc() and it wasn't
9292
/// there.
93-
fn fallback_realloc_scheme(&self) -> Result<ReallocScheme> {
93+
fn fallback_realloc_scheme(&self) -> Result<ReallocScheme<'_>> {
9494
if self.encoder.module_is_produced_by_tiny_go {
9595
// If it appears the module was emitted by TinyGo, we delegate to
9696
// its `malloc()` function. (TinyGo assumes its GC has rein over the

0 commit comments

Comments
 (0)