From 4267a3ad34175614d14dee2bb8212e8ccd8e86b2 Mon Sep 17 00:00:00 2001 From: 1hakusai1 <1hakusai1@gmail.com> Date: Tue, 14 Jan 2025 17:43:28 +0900 Subject: [PATCH] fix_typo --- src/tools/rust-analyzer/crates/ide/src/goto_definition.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/rust-analyzer/crates/ide/src/goto_definition.rs b/src/tools/rust-analyzer/crates/ide/src/goto_definition.rs index c29b5acfff58..a480741f5f7e 100644 --- a/src/tools/rust-analyzer/crates/ide/src/goto_definition.rs +++ b/src/tools/rust-analyzer/crates/ide/src/goto_definition.rs @@ -149,7 +149,7 @@ fn find_from_definition( let (search_method, search_trait, return_type) = match method_call.name_ref()?.text().as_str() { "into" => ("from", FamousDefs(sema, krate).core_convert_From()?, return_type), - // If the mthod is try_into() or parse(), return_type is Result. + // If the method is try_into() or parse(), return_type is Result. // Get T from type arguments of Result. "try_into" => ( "try_from",