Remove unnecessary lifetimes
Linter with new nightly toolchain finds another lifetime that can be elided, do so.
This commit is contained in:
parent
b4f52ac87a
commit
ddde3162ff
|
@ -313,7 +313,7 @@ macro_rules! serde_round_trip (
|
|||
/// Serializes a byte slice using the `hex` crate.
|
||||
pub struct SerializeBytesAsHex<'a>(pub &'a [u8]);
|
||||
|
||||
impl<'a> serde::Serialize for SerializeBytesAsHex<'a> {
|
||||
impl serde::Serialize for SerializeBytesAsHex<'_> {
|
||||
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
||||
where
|
||||
S: serde::Serializer,
|
||||
|
|
Loading…
Reference in New Issue