about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
diff options
context:
space:
mode:
author1hakusai1 <1hakusai1@gmail.com>2025-01-14 17:43:28 +0900
committer1hakusai1 <1hakusai1@gmail.com>2025-01-14 17:43:28 +0900
commit4267a3ad34175614d14dee2bb8212e8ccd8e86b2 (patch)
tree41db8a43be35afd4a21ca5a71d47ff9183f05474 /src/tools/rust-analyzer
parent979280392433d0349be4faf66bd612de634962e4 (diff)
downloadrust-4267a3ad34175614d14dee2bb8212e8ccd8e86b2.tar.gz
rust-4267a3ad34175614d14dee2bb8212e8ccd8e86b2.zip
fix_typo
Diffstat (limited to 'src/tools/rust-analyzer')
-rw-r--r--src/tools/rust-analyzer/crates/ide/src/goto_definition.rs2
1 files changed, 1 insertions, 1 deletions
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 c29b5acfff5..a480741f5f7 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<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",