mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-08-02 12:14:49 +02:00
flake update
This commit is contained in:
parent
a07123315c
commit
2492d6960c
5 changed files with 23 additions and 21 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue