Skip to content

Commit a9b4872

Browse files
committed
fix cargo clippy warning
1 parent e60db5f commit a9b4872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix-script/src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ impl Builder {
157157
.context("could not prepare derivation to build")?;
158158

159159
log::debug!("writing derivation to {}", build_path.display());
160-
log::trace!("derivation contents: {}", derivation.to_string());
160+
log::trace!("derivation contents: {}", derivation);
161161
fs::write(build_path.join("default.nix"), derivation.to_string())
162162
.context("could not write derivation contents")?;
163163
}

0 commit comments

Comments
 (0)