Skip to content

Commit

Permalink
Remove unneeded finish
Browse files Browse the repository at this point in the history
  • Loading branch information
aleics committed Oct 25, 2024
1 parent 931a501 commit 07ab6de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bruc-expression/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ impl Hash for DataItem {
DataItem::Bool(value) => hasher.write_i8(i8::from(*value)),
DataItem::Number(value) => hasher.write(&value.to_be_bytes()),
DataItem::Text(value) => value.hash(hasher),
};
hasher.finish();
}
}
}

Expand Down

0 comments on commit 07ab6de

Please sign in to comment.