mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-28 18:43:01 +00:00
refactor: Clean up cache priming cancellation handling
This commit is contained in:
parent
fe7b4f2ad9
commit
7d9b839f9c
7 changed files with 54 additions and 39 deletions
|
|
@ -56,6 +56,8 @@ impl Builder {
|
|||
Self { inner: self.inner.stack_size(size), ..self }
|
||||
}
|
||||
|
||||
/// Whether dropping should detach the thread
|
||||
/// instead of joining it.
|
||||
#[must_use]
|
||||
pub fn allow_leak(self, allow_leak: bool) -> Self {
|
||||
Self { allow_leak, ..self }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue