Bladeren bron

Rename `memory_area_tag` to `memory_map_tag`

Philipp Oppermann 9 jaren geleden
bovenliggende
commit
76f6fc4c16
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -25,7 +25,7 @@ impl BootInformation {
         self.get_tag(9).map(|tag| unsafe{&*(tag as *const Tag as *const ElfSectionsTag)})
     }
 
-    pub fn memory_area_tag(&self) -> Option<&'static MemoryMapTag> {
+    pub fn memory_map_tag(&self) -> Option<&'static MemoryMapTag> {
         self.get_tag(6).map(|tag| unsafe{&*(tag as *const Tag as *const MemoryMapTag)})
     }