Skip to content

Commit

Permalink
Merge branch 'main' into rtu-reserve
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde authored Nov 29, 2024
2 parents f4f6216 + 9cc04b2 commit 2d22e23
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 2d22e23

Please sign in to comment.