diff --git a/crates/ide/src/goto_definition.rs b/crates/ide/src/goto_definition.rs index c29b5acfff..a480741f5f 100644 --- a/crates/ide/src/goto_definition.rs +++ b/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",