mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-25 19:29:49 +00:00
Fix warning when not building in test mode
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
6ac3a44e88
commit
4eb2b978e8
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
|||
use anyhow::{anyhow, Result};
|
||||
use fsevent::EventStream;
|
||||
use futures::{Stream, StreamExt};
|
||||
use postage::prelude::Sink as _;
|
||||
use smol::io::{AsyncReadExt, AsyncWriteExt};
|
||||
use std::{
|
||||
io,
|
||||
|
@ -164,6 +163,8 @@ impl FakeFsState {
|
|||
}
|
||||
|
||||
async fn emit_event(&mut self, paths: &[&Path]) {
|
||||
use postage::prelude::Sink as _;
|
||||
|
||||
let events = paths
|
||||
.iter()
|
||||
.map(|path| fsevent::Event {
|
||||
|
|
Loading…
Reference in a new issue