Skip to content

Commit

Permalink
Fix clippy warnings introduced recently. (FuelLabs#4853)
Browse files Browse the repository at this point in the history
These have been introduced in
FuelLabs@b33b63c.

## Description
  • Loading branch information
tritao authored Jul 24, 2023
1 parent b19174a commit 9604746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sway-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ fn parse_in_memory(
engines,
module.value.clone(),
)?;
let module_kind_span = module.value.kind.span().clone();
let module_kind_span = module.value.kind.span();
let submodules = Default::default();
let attributes = module_attrs_to_map(handler, &module.attribute_list)?;
let root = parsed::ParseModule {
Expand Down Expand Up @@ -303,7 +303,7 @@ fn parse_module_tree(
engines,
module.value.clone(),
)?;
let module_kind_span = module.value.kind.span().clone();
let module_kind_span = module.value.kind.span();
let attributes = module_attrs_to_map(handler, &module.attribute_list)?;

let lexed = lexed::LexedModule {
Expand Down

0 comments on commit 9604746

Please sign in to comment.