fix(rust): appease clippy
This commit is contained in:
parent
9593737871
commit
070b91628f
2 changed files with 1 additions and 2 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,6 +20,5 @@ pub mod wasm;
|
|||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
// To run compile fail tests
|
||||
#[cfg(doctest)]
|
||||
mod tests;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue