Эх сурвалжийг харах

Rename `memory_area_tag` to `memory_map_tag`

Philipp Oppermann 9 жил өмнө
parent
commit
76f6fc4c16
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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)})
     }