Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
avl committed Sep 13, 2024
1 parent 9abb979 commit 67ba3bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions arcshift/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2814,5 +2814,6 @@ fn drop_item<T: ?Sized>(old_ptr: *const ItemHolderDummy<T>) {
ArcShift::drop_impl(old_ptr);
}

/// Module for tests
#[cfg(test)]
pub mod tests;
3 changes: 2 additions & 1 deletion arcshift/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ fn simple_unsized_str() {
use std::cell::{Cell, RefCell};

thread_local! {
pub static THREADLOCAL_FOO: ArcShiftCell<String> = ArcShiftCell::new(String::new());

static THREADLOCAL_FOO: ArcShiftCell<String> = ArcShiftCell::new(String::new());
}

#[cfg(not(any(loom, feature = "shuttle")))]
Expand Down

0 comments on commit 67ba3bd

Please sign in to comment.