From dc7fd3e45420ed53382b3a0f7174619ec9d438ea Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Fri, 16 Aug 2024 07:05:49 -0700 Subject: [PATCH] Fix documentation copy-paste typo (#9133) --- crates/wasmtime/src/runtime/gc/enabled/anyref.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wasmtime/src/runtime/gc/enabled/anyref.rs b/crates/wasmtime/src/runtime/gc/enabled/anyref.rs index 0ba936b976..605c7a5038 100644 --- a/crates/wasmtime/src/runtime/gc/enabled/anyref.rs +++ b/crates/wasmtime/src/runtime/gc/enabled/anyref.rs @@ -408,8 +408,8 @@ impl AnyRef { } } - /// Downcast this `anyref` to an `i31`, panicking if this `anyref` is not a - /// `struct`. + /// Downcast this `anyref` to a `structref`, panicking if this `anyref` is + /// not a `structref`. /// /// # Errors ///