File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ impl<'a> BlockWrapper<'a> {
121121 start_lba : u64 ,
122122 last_lba : u64 ,
123123 uuid : [ u8 ; 16 ] ,
124- ) -> * mut BlockWrapper {
124+ ) -> * mut BlockWrapper < ' a > {
125125 let last_block = ( * block) . get_capacity ( ) - 1 ;
126126
127127 let ( status, new_address) = super :: ALLOCATOR
Original file line number Diff line number Diff line change @@ -629,7 +629,7 @@ fn compare_name(name: &str, de: &DirectoryEntry) -> bool {
629629}
630630
631631impl < ' a > Filesystem < ' a > {
632- pub fn new ( device : & ' a dyn SectorRead , start : u64 , last : u64 ) -> Filesystem {
632+ pub fn new ( device : & ' a dyn SectorRead , start : u64 , last : u64 ) -> Filesystem < ' a > {
633633 Filesystem {
634634 device,
635635 start,
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ impl<'a> Loader<'a> {
4242 ) ) ]
4343 const OPTIONAL_HEADER_MAGIC : u16 = 0x20b ; // PE32+
4444
45- pub fn new ( file : & ' a mut dyn crate :: fat:: Read ) -> Loader {
45+ pub fn new ( file : & ' a mut dyn crate :: fat:: Read ) -> Loader < ' a > {
4646 Loader {
4747 file,
4848 num_sections : 0 ,
You can’t perform that action at this time.
0 commit comments