Skip to content

Commit

Permalink
elide a lifetime that clippy wants to be elided
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed Jan 31, 2024
1 parent cec051b commit 3180a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions capnp/src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ impl<'a> crate::traits::SetterInput<Owned> for Reader<'a> {
// else that implements `AsRef<str>`.
impl<T: AsRef<str>> crate::traits::SetterInput<Owned> for T {
#[inline]
fn set_pointer_builder<'b>(
mut pointer: crate::private::layout::PointerBuilder<'b>,
fn set_pointer_builder(
mut pointer: crate::private::layout::PointerBuilder<'_>,
value: T,
_canonicalize: bool,
) -> Result<()> {
Expand Down

0 comments on commit 3180a44

Please sign in to comment.