Skip to content

Commit 0039916

Browse files
committed
odd cleanup
1 parent 0814226 commit 0039916

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
fn main() {
2-
let contents = std::fs::read_to_string("cargo/tests/cargo_build_script/run_from_exec_root/data.txt")
3-
.expect("Failed to read data file");
2+
let contents =
3+
std::fs::read_to_string("cargo/tests/cargo_build_script/run_from_exec_root/data.txt")
4+
.expect("Failed to read data file");
45
println!("cargo:rustc-env=DATA={}", contents);
56
}

util/process_wrapper/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ pub(crate) fn options() -> Result<Options, OptionError> {
139139
.to_owned();
140140
let output_base = {
141141
let external = std::path::Path::new(&current_dir).join("external");
142-
match std::fs::read_link(&external) {
142+
match std::fs::read_link(external) {
143143
Ok(target) => target
144144
.parent()
145145
.unwrap_or(&target)

0 commit comments

Comments
 (0)