diff options
| author | murilo ijanc | 2026-03-25 15:10:15 -0300 |
|---|---|---|
| committer | murilo ijanc | 2026-03-25 15:10:15 -0300 |
| commit | 63c080840a7567f67effa9703d7c94b488d22fc1 (patch) | |
| tree | 9d9361fc02696a2904db974a0a0175c15bb363f9 /src/daemon.rs | |
| parent | 71a839341e34c7808cc90a6e5e25d269588e989c (diff) | |
| download | tesseras-paste-63c080840a7567f67effa9703d7c94b488d22fc1.tar.gz | |
Fix clippy warnings: needless borrow and collapsible if
Diffstat (limited to 'src/daemon.rs')
| -rw-r--r-- | src/daemon.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.rs b/src/daemon.rs index 8300def..88e3a09 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -304,7 +304,7 @@ fn handle_client( continue; } let line = line.trim(); - let cmd = match protocol::parse_request(&line) { + let cmd = match protocol::parse_request(line) { Ok(c) => c, Err(e) => { let resp = protocol::format_response(&Response::Err(e)); |