X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Fformat.rs;h=5e7264fe765a950ac9980b7ef55b5e05023312d6;hb=fb3e724d7602675f147a9b80e70fb6bd6512738c;hp=37322670e656483864a662a7537db4d6fdd1650b;hpb=02fc0faa9a9165d8ac73385a765a33945cbb8641;p=rust.git diff --git a/src/bootstrap/format.rs b/src/bootstrap/format.rs index 37322670e65..5e7264fe765 100644 --- a/src/bootstrap/format.rs +++ b/src/bootstrap/format.rs @@ -43,7 +43,7 @@ struct RustfmtConfig { } pub fn format(build: &Builder<'_>, check: bool, paths: &[PathBuf]) { - if build.config.dry_run { + if build.config.dry_run() { return; } let mut builder = ignore::types::TypesBuilder::new();