diff rust/chg/src/attachio.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 1f5ab1a9363d
children 1be605526c34
line wrap: on
line diff
--- a/rust/chg/src/attachio.rs	Fri Apr 10 21:35:16 2020 +0900
+++ b/rust/chg/src/attachio.rs	Fri Apr 10 21:38:08 2020 +0900
@@ -12,8 +12,8 @@
 use tokio_hglib::protocol::MessageLoop;
 use tokio_hglib::{Client, Connection};
 
-use super::message;
-use super::procutil;
+use crate::message;
+use crate::procutil;
 
 /// Future to send client-side fds over the command server channel.
 ///