diff options
Diffstat (limited to 'tvix/nix-compat/src/nar/writer/async.rs')
-rw-r--r-- | tvix/nix-compat/src/nar/writer/async.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nar/writer/async.rs b/tvix/nix-compat/src/nar/writer/async.rs index dd5c72ac8913..11aefab9cba7 100644 --- a/tvix/nix-compat/src/nar/writer/async.rs +++ b/tvix/nix-compat/src/nar/writer/async.rs @@ -31,7 +31,6 @@ //! ``` use crate::nar::wire; -use bstr::ByteSlice; use futures_util::{AsyncBufRead, AsyncBufReadExt, AsyncWrite, AsyncWriteExt}; use std::{ io::{ @@ -197,6 +196,7 @@ impl<'a, 'w> Directory<'a, 'w> { Some(ref mut _prev_name) => { #[cfg(debug_assertions)] { + use bstr::ByteSlice; assert!( &**_prev_name < name, "misordered names: {:?} >= {:?}", |