summaryrefslogtreecommitdiffstats
path: root/autocrypt
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-04-07 18:45:55 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-04-09 13:13:59 +0200
commit76f2e0ed8e30a0d1cde749f3444bd8a4c81bea87 (patch)
tree0085cfecde9d35b15c98fc8650734ecf5d61358f /autocrypt
parentbaecfecbf953aa9e40f16084b927f35b69efc8f0 (diff)
Lint: Remove redundant returns.
- https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
Diffstat (limited to 'autocrypt')
-rw-r--r--autocrypt/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/autocrypt/src/lib.rs b/autocrypt/src/lib.rs
index 257469f3..5c2386cc 100644
--- a/autocrypt/src/lib.rs
+++ b/autocrypt/src/lib.rs
@@ -274,7 +274,7 @@ impl AutocryptHeaders {
}
}
- return Ok(headers)
+ Ok(headers)
}
/// Decode header that has the same format as the Autocrypt header.