1
0
Fork 0
mirror of https://codeberg.org/icewind/bitbuffer.git synced 2026-08-02 12:14:49 +02:00

flake update

This commit is contained in:
Robin Appelman 2026-08-01 16:07:25 +02:00
commit 2492d6960c
5 changed files with 23 additions and 21 deletions

View file

@ -237,7 +237,9 @@ impl InputParams {
}
}
pub fn generics_for_impl(&self) -> (ImplGenerics, TypeGenerics, Option<&WhereClause>) {
pub fn generics_for_impl<'a>(
&'a self,
) -> (ImplGenerics<'a>, TypeGenerics<'a>, Option<&'a WhereClause>) {
// we need these separate generics to only add out Endianness param to the 'impl'
let (_, ty_generics, where_clause) = self.generics.split_for_impl();
let (impl_generics, _, _) = self.generics_with_endianness.split_for_impl();