aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_api/src
diff options
context:
space:
mode:
authorMatthias Krüger <[email protected]>2021-03-17 01:19:40 +0000
committerMatthias Krüger <[email protected]>2021-03-17 01:19:40 +0000
commit64b91393b85eb2b5d41ccbd3048dcc61eb8061c7 (patch)
tree8b08f99b7b8377cb1658b5a9ff7c932b5de3bc14 /crates/proc_macro_api/src
parent048dad8c2e86006e53b3a134279729efb28b9e32 (diff)
remove uselessly wrapped ?s. (clippy::meedless_question_mark
let x = Some(3); let y = Some(x?); can just be: let y = x
Diffstat (limited to 'crates/proc_macro_api/src')
-rw-r--r--crates/proc_macro_api/src/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/proc_macro_api/src/process.rs b/crates/proc_macro_api/src/process.rs
index 3ce851fe8..30bb1b687 100644
--- a/crates/proc_macro_api/src/process.rs
+++ b/crates/proc_macro_api/src/process.rs
@@ -154,5 +154,5 @@ fn send_request(
154 req: Request, 154 req: Request,
155) -> io::Result<Option<Response>> { 155) -> io::Result<Option<Response>> {
156 req.write(&mut writer)?; 156 req.write(&mut writer)?;
157 Ok(Response::read(&mut reader)?) 157 Response::read(&mut reader)
158} 158}