File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/ide-assists/src/handlers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ pub(crate) fn extract_struct_from_function_signature(
32
32
ctx : & AssistContext < ' _ > ,
33
33
) -> Option < ( ) > {
34
34
// TODO: get more specific than param list
35
- // how to get function name and param list/part of param list the is selected seperatly
35
+ // how to get function name and param list/part of param list the is selected separately
36
36
// or maybe just auto generate random name not based on function name?
37
37
let fn_ast = ctx. find_node_at_offset :: < ast:: Fn > ( ) ?;
38
38
// we independently get the param list without going through fn (fn_ast.param_list()), because for some reason when we
@@ -50,7 +50,7 @@ pub(crate) fn extract_struct_from_function_signature(
50
50
// TODO: does this capture parenthesis
51
51
let target = params_list. syntax ( ) . text_range ( ) ;
52
52
// TODO: special handiling for self?
53
- // TODO: special handling for destrutered types (or maybe just don't suppurt code action on
53
+ // TODO: special handling for destrutered types (or maybe just don't support code action on
54
54
// destructed types yet
55
55
56
56
let field_list = make:: record_field_list (
You can’t perform that action at this time.
0 commit comments