*: Fix clippy warnings (#2615)

This commit is contained in:
Hubert
2022-04-19 12:13:45 +02:00
committed by GitHub
parent 0c1ac781a2
commit 22fbce34d5
16 changed files with 67 additions and 39 deletions

View File

@ -21,7 +21,7 @@
use crate::codec::MAX_FRAME_SIZE;
use std::cmp;
pub(crate) const DEFAULT_MPLEX_PROTOCOL_NAME: &'static [u8] = b"/mplex/6.7.0";
pub(crate) const DEFAULT_MPLEX_PROTOCOL_NAME: &[u8] = b"/mplex/6.7.0";
/// Configuration for the multiplexer.
#[derive(Debug, Clone)]