diff -r e8078af6af30 -r 426294d06ddc rust/chg/src/clientext.rs --- a/rust/chg/src/clientext.rs Wed Sep 30 18:07:21 2020 +0530 +++ b/rust/chg/src/clientext.rs Thu Oct 01 09:09:35 2020 -0700 @@ -43,11 +43,20 @@ stdout: &impl AsRawFd, stderr: &impl AsRawFd, ) -> io::Result<()> { - attachio::attach_io(self.client.borrow_protocol_mut(), stdin, stdout, stderr).await + attachio::attach_io( + self.client.borrow_protocol_mut(), + stdin, + stdout, + stderr, + ) + .await } /// Changes the working directory of the server. - pub async fn set_current_dir(&mut self, dir: impl AsRef) -> io::Result<()> { + pub async fn set_current_dir( + &mut self, + dir: impl AsRef, + ) -> io::Result<()> { let dir_bytes = dir.as_ref().as_os_str().as_bytes().to_owned(); self.client .borrow_protocol_mut() @@ -67,7 +76,10 @@ } /// Changes the process title of the server. - pub async fn set_process_name(&mut self, name: impl AsRef) -> io::Result<()> { + pub async fn set_process_name( + &mut self, + name: impl AsRef, + ) -> io::Result<()> { let name_bytes = name.as_ref().as_bytes().to_owned(); self.client .borrow_protocol_mut()