fix(rust): appease clippy

This commit is contained in:
Will Lillis 2025-09-16 03:07:35 -04:00
parent 9593737871
commit 070b91628f
2 changed files with 1 additions and 2 deletions

View file

@ -263,7 +263,7 @@ impl<T> JoinHandle<T> {
Self { data: Some(data) }
}
fn join(&mut self) -> T {
const fn join(&mut self) -> T {
self.data.take().unwrap()
}
}

View file

@ -20,6 +20,5 @@ pub mod wasm;
#[cfg(test)]
mod tests;
// To run compile fail tests
#[cfg(doctest)]
mod tests;