Only need 1 lifetime here

This commit is contained in:
Gwilym Inzani 2024-04-13 15:56:00 +01:00
parent 0b63284c7b
commit 66e55890e2

View file

@ -67,7 +67,7 @@ fn load_from_object<'file>(
endian: Endian, endian: Endian,
) -> Result<gimli::EndianRcSlice<Endian>, gimli::Error> ) -> Result<gimli::EndianRcSlice<Endian>, gimli::Error>
where where
O: object::Object<'data, 'file>, O: object::Object<'data>,
Endian: gimli::Endianity, Endian: gimli::Endianity,
{ {
use object::ObjectSection; use object::ObjectSection;