Skip to content

Commit f9cbb11

Browse files
committed
Do not create a reference to a reference
This fixes a clippy warning.
1 parent fbbfb6d commit f9cbb11

File tree

1 file changed

+1
-1
lines changed
  • surface-dtx-daemon/src/logic

1 file changed

+1
-1
lines changed

surface-dtx-daemon/src/logic/proc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ impl ProcessOutputExt for std::process::Output {
283283

284284
let data = std::str::from_utf8(data);
285285
match data {
286-
Ok(ref str) => {
286+
Ok(str) => {
287287
for line in str.lines() {
288288
event!(target: "sdtxd::proc", level, " (contd.) {}", line);
289289
}

0 commit comments

Comments
 (0)