Skip to content

Commit

Permalink
one more typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Jul 3, 2024
1 parent 825c518 commit 6666a69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external-crates/move/crates/move-analyzer/src/symbols.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3536,9 +3536,9 @@ pub fn on_document_symbol_request(context: &Context, request: &Request, symbols:
/// Helper function to handle struct fields
#[allow(deprecated)]
fn handle_struct_fields(struct_def: StructDef, fields: &mut Vec<DocumentSymbol>) {
let clonded_fields = struct_def.field_defs;
let cloned_fields = struct_def.field_defs;

for field_def in clonded_fields {
for field_def in cloned_fields {
let field_range = Range {
start: field_def.start,
end: field_def.start,
Expand Down

0 comments on commit 6666a69

Please sign in to comment.