We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c2a12 commit 846bb58Copy full SHA for 846bb58
crates/wasmtime/src/runtime/gc/enabled/externref.rs
@@ -192,7 +192,7 @@ impl ExternRef {
192
/// drop_some_gc_refs();
193
/// // Finally, try to allocate again, reusing the original
194
/// // string.
195
- /// ExternRef::new(&mut scope, s)
+ /// ExternRef::new(&mut scope, s)?
196
/// }
197
/// Err(e) => return Err(e),
198
/// },
@@ -304,7 +304,7 @@ impl ExternRef {
304
305
306
307
- /// ExternRef::new_async(&mut scope, s).await
+ /// ExternRef::new_async(&mut scope, s).await?
308
309
310
0 commit comments