diff rust/chg/src/uihandler.rs @ 44689:6bef9d43cc55

rust-chg: use "crate::" to import local modules I feel it's easier to follow to resolve modules from the crate root than relative path from self module. Differential Revision: https://phab.mercurial-scm.org/D8400
author Yuya Nishihara <yuya@tcha.org>
date Fri, 10 Apr 2020 21:38:08 +0900
parents ce088b38f92b
children e9e44e61042b
line wrap: on
line diff
--- a/rust/chg/src/uihandler.rs	Fri Apr 10 21:35:16 2020 +0900
+++ b/rust/chg/src/uihandler.rs	Fri Apr 10 21:38:08 2020 +0900
@@ -12,8 +12,8 @@
 use tokio;
 use tokio_process::{ChildStdin, CommandExt};
 
-use super::message::CommandSpec;
-use super::procutil;
+use crate::message::CommandSpec;
+use crate::procutil;
 
 /// Callback to process shell command requests received from server.
 pub trait SystemHandler: Sized {