Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4267a3a

Browse files
committed
fix_typo
1 parent 9792803 commit 4267a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/ide/src/goto_definition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ fn find_from_definition(
149149

150150
let (search_method, search_trait, return_type) = match method_call.name_ref()?.text().as_str() {
151151
"into" => ("from", FamousDefs(sema, krate).core_convert_From()?, return_type),
152-
// If the mthod is try_into() or parse(), return_type is Result<T, Error>.
152+
// If the method is try_into() or parse(), return_type is Result<T, Error>.
153153
// Get T from type arguments of Result<T, Error>.
154154
"try_into" => (
155155
"try_from",

0 commit comments

Comments
 (0)