mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Make method only available in tests
This commit is contained in:
parent
0d01cc2dd2
commit
05e057fffd
1 changed files with 1 additions and 0 deletions
|
@ -301,6 +301,7 @@ impl BackgroundExecutor {
|
|||
|
||||
/// Block the current thread until the given future resolves
|
||||
/// or `duration` has elapsed.
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub(crate) fn block_to_shutdown<R>(
|
||||
&self,
|
||||
duration: Duration,
|
||||
|
|
Loading…
Reference in a new issue