summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/stream/dash_escape.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/serialize/stream/dash_escape.rs')
-rw-r--r--openpgp/src/serialize/stream/dash_escape.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/serialize/stream/dash_escape.rs b/openpgp/src/serialize/stream/dash_escape.rs
index b34cb314..35d6acf0 100644
--- a/openpgp/src/serialize/stream/dash_escape.rs
+++ b/openpgp/src/serialize/stream/dash_escape.rs
@@ -33,6 +33,7 @@ pub(super) struct DashEscapeFilter<'a, C: 'a> {
}
assert_send_and_sync!(DashEscapeFilter<'_, C> where C);
+#[allow(clippy::new_ret_no_self)]
impl<'a> DashEscapeFilter<'a, Cookie> {
/// Returns a new filter applying dash-escaping to all lines.
pub fn new(inner: Message<'a>, cookie: Cookie)