Skip to content

Commit e5a56a4

Browse files
committed
chore: clippy fix
1 parent 465fcc2 commit e5a56a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stress/src/throughput.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl<'a> UnsafeSlice<'a> {
155155
#[inline(always)]
156156
unsafe fn increment(&self, i: usize) {
157157
let value = self.slice[i].get();
158-
(*value).count = (*value).count + 1;
158+
(*value).count += 1;
159159
}
160160

161161
#[inline(always)]

0 commit comments

Comments
 (0)