Skip to content

Commit f7f4307

Browse files
committed
clippy
1 parent ac0bfcc commit f7f4307

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ fn set_abseil_options_to_use_namespace(
10941094
options_path: &PathBuf,
10951095
) -> io::Result<()> {
10961096
// Read the contents of options.h
1097-
let current_content = fs::read_to_string(&options_path)?;
1097+
let current_content = fs::read_to_string(options_path)?;
10981098

10991099
// Create the expected content
11001100
let new_content = current_content
@@ -1113,7 +1113,7 @@ fn set_abseil_options_to_use_namespace(
11131113

11141114
// Only write if content actually changed
11151115
if current_content != new_content {
1116-
let mut file = fs::File::create(&options_path)?;
1116+
let mut file = fs::File::create(options_path)?;
11171117
file.write_all(new_content.as_bytes())?;
11181118
}
11191119

0 commit comments

Comments
 (0)