mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 20:22:30 +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 anyhow::{anyhow, Result};
|
||||||
use fsevent::EventStream;
|
use fsevent::EventStream;
|
||||||
use futures::{Stream, StreamExt};
|
use futures::{Stream, StreamExt};
|
||||||
use postage::prelude::Sink as _;
|
|
||||||
use smol::io::{AsyncReadExt, AsyncWriteExt};
|
use smol::io::{AsyncReadExt, AsyncWriteExt};
|
||||||
use std::{
|
use std::{
|
||||||
io,
|
io,
|
||||||
|
@ -164,6 +163,8 @@ impl FakeFsState {
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn emit_event(&mut self, paths: &[&Path]) {
|
async fn emit_event(&mut self, paths: &[&Path]) {
|
||||||
|
use postage::prelude::Sink as _;
|
||||||
|
|
||||||
let events = paths
|
let events = paths
|
||||||
.iter()
|
.iter()
|
||||||
.map(|path| fsevent::Event {
|
.map(|path| fsevent::Event {
|
||||||
|
|
Loading…
Reference in a new issue