Skip to content

Commit

Permalink
Fix pre-commit issues (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde authored Nov 29, 2024
1 parent 8a886c8 commit 9cc04b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frame/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ pub enum Request<'a> {
Custom(u8, Cow<'a, [u8]>),
}

impl<'a> Request<'a> {
impl Request<'_> {
/// Converts the request into an owned instance with `'static'` lifetime.
#[must_use]
pub fn into_owned(self) -> Request<'static> {
Expand Down Expand Up @@ -300,7 +300,7 @@ pub struct SlaveRequest<'a> {
}

#[cfg(feature = "server")]
impl<'a> SlaveRequest<'a> {
impl SlaveRequest<'_> {
/// Converts the request into an owned instance with `'static'` lifetime.
#[must_use]
pub fn into_owned(self) -> SlaveRequest<'static> {
Expand Down

0 comments on commit 9cc04b2

Please sign in to comment.