forked from mirrors/jj
debug.rs: make one of the imports optional
This removes a warning rust-analyzer otherwise shows me.
This commit is contained in:
parent
2571169251
commit
62e0729f41
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,7 @@ use std::io::Write as _;
|
|||
use clap::Subcommand;
|
||||
use jj_lib::backend::ObjectId;
|
||||
use jj_lib::default_index_store::{DefaultIndexStore, ReadonlyIndexWrapper};
|
||||
use jj_lib::local_working_copy::{LocalWorkingCopy, LockedLocalWorkingCopy};
|
||||
use jj_lib::local_working_copy::LocalWorkingCopy;
|
||||
use jj_lib::revset;
|
||||
use jj_lib::working_copy::WorkingCopy;
|
||||
|
||||
|
@ -276,6 +276,8 @@ fn cmd_debug_watchman(
|
|||
command: &CommandHelper,
|
||||
subcommand: &DebugWatchmanSubcommand,
|
||||
) -> Result<(), CommandError> {
|
||||
use jj_lib::local_working_copy::LockedLocalWorkingCopy;
|
||||
|
||||
let mut workspace_command = command.workspace_helper(ui)?;
|
||||
let repo = workspace_command.repo().clone();
|
||||
match subcommand {
|
||||
|
|
Loading…
Reference in a new issue