Unnamed repository; edit this file 'description' to name the repository.
fix_typo
1hakusai1 2025-01-14
parent ea87eab · commit c14cdcf
-rw-r--r--crates/ide/src/goto_definition.rs2
1 files changed, 1 insertions, 1 deletions
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<T, Error>.
+ // If the method is try_into() or parse(), return_type is Result<T, Error>.
// Get T from type arguments of Result<T, Error>.
"try_into" => (
"try_from",