Remove unnecessary allow attribute
It seems like it was fixed in clippy.
This commit is contained in:
parent
9e9b59819c
commit
6441d823dd
@ -608,8 +608,6 @@ impl MessageType {
|
||||
if let Some(formatted) = formatted {
|
||||
formatted.sanitize_html(mode, remove_reply_fallback);
|
||||
}
|
||||
// This is a false positive, see <https://github.com/rust-lang/rust-clippy/issues/12444>
|
||||
#[allow(clippy::assigning_clones)]
|
||||
if remove_reply_fallback == RemoveReplyFallback::Yes {
|
||||
*body = remove_plain_reply_fallback(body).to_owned();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user