Skip to content

Commit 4ef4ba6

Browse files
gruebellalitbcijothomas
authored
chore: enable Rust 2024 edition lints (open-telemetry#2728)
Co-authored-by: Lalit Kumar Bhasin <[email protected]> Co-authored-by: Cijo Thomas <[email protected]>
1 parent 7bb3a06 commit 4ef4ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 += 1;
158+
unsafe { (*value).count += 1 };
159159
}
160160

161161
#[inline(always)]

0 commit comments

Comments
 (0)