Skip to content

Commit

Permalink
reduce clones
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Sep 12, 2024
1 parent 71278a5 commit 75913af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ssddOnTop/src/jit/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl<'a> Fields1<'a> {
value = Some(val);
}
}
if let Some(val) = value.clone(){
if let Some(val) = value{
match (val.as_array(), val.as_object()) {
(_, Some(obj)) => {
// let mut ans = Map::new();
Expand Down

0 comments on commit 75913af

Please sign in to comment.