@@ -10,22 +10,22 @@ use std::path::{Path, PathBuf};
1010use std:: sync:: { Arc , LazyLock , Mutex } ;
1111use std:: { cmp, env} ;
1212
13- use anyhow:: { anyhow , Context , Result } ;
13+ use anyhow:: { Context , Result , anyhow } ;
1414use git_testament:: { git_testament, render_testament} ;
1515use tracing:: { debug, error, info, trace, warn} ;
16- use tracing_subscriber:: { reload :: Handle , EnvFilter , Registry } ;
16+ use tracing_subscriber:: { EnvFilter , Registry , reload :: Handle } ;
1717
1818use super :: self_update;
1919use crate :: {
2020 cli:: download_tracker:: DownloadTracker ,
2121 config:: Cfg ,
2222 dist:: {
23- manifest:: ComponentStatus , notifications as dist_notifications, TargetTriple , ToolchainDesc ,
23+ TargetTriple , ToolchainDesc , manifest:: ComponentStatus , notifications as dist_notifications,
2424 } ,
2525 errors:: RustupError ,
2626 install:: UpdateStatus ,
2727 notifications:: Notification ,
28- process:: { terminalsource , Process } ,
28+ process:: { Process , terminalsource } ,
2929 toolchain:: { DistributableToolchain , LocalToolchainName , Toolchain , ToolchainName } ,
3030 utils:: { self , notifications as util_notifications, notify:: NotificationLevel } ,
3131} ;
@@ -654,7 +654,9 @@ pub(crate) fn warn_if_host_is_emulated(process: &Process) {
654654 "Rustup is not running natively. It's running under emulation of {}." ,
655655 TargetTriple :: from_host_or_build( process)
656656 ) ;
657- warn ! ( "For best compatibility and performance you should reinstall rustup for your native CPU." ) ;
657+ warn ! (
658+ "For best compatibility and performance you should reinstall rustup for your native CPU."
659+ ) ;
658660 }
659661}
660662
0 commit comments