Skip to content

Commit f049e25

Browse files
committed
Rm unnecessary diff in Client::mk
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
1 parent 0a5230a commit f049e25

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/unix.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ impl Client {
6464
return Err(err);
6565
}
6666
}
67-
_ => {
68-
return Ok(Client::from_fds(pipes[0], pipes[1]));
69-
}
67+
_ => return Ok(Client::from_fds(pipes[0], pipes[1])),
7068
}
7169
}
7270
}

0 commit comments

Comments
 (0)