Browse Source

Fix Syntax Error

Replace semi-colon with comma; My C++ experience must be infecting my Rust code
CalebLBaker 4 years ago
parent
commit
c8f45015b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/memory_map.rs

+ 1 - 1
src/memory_map.rs

@@ -24,7 +24,7 @@ impl MemoryMapTag {
     /// Return an iterator over all AVAILABLE marked memory areas.
     pub fn memory_areas(&self) -> MemoryAreaIter {
         MemoryAreaIter {
-            iter: self.all_memory_areas();
+            iter: self.all_memory_areas(),
         }
     }
     /// Return an iterator over all marked memory areas.