Browse Source

[2831] Some minor comment updates

Mukund Sivaraman 12 years ago
parent
commit
639532ca50
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/util/memory_segment_mapped.h

+ 2 - 2
src/lib/util/memory_segment_mapped.h

@@ -173,7 +173,7 @@ public:
     /// \brief Return the actual segment size.
     ///
     /// This is generally expected to be the file size to map.  It's
-    /// provided mainly for diagnose an testing purposes; the application
+    /// provided mainly for diagnosis and testing purposes; the application
     /// shouldn't rely on specific return values of this method.
     ///
     /// \throw None
@@ -185,7 +185,7 @@ public:
     /// segment, and returns the sum of the value of the first byte of each
     /// page (wrapping around upon overflow).  It only proves weak integrity
     /// of the file contents, but can run fast enough and will ensure all
-    /// pages are actually on memory.  The latter property will be useful
+    /// pages are actually in memory.  The latter property will be useful
     /// if the application cannot allow the initial page fault overhead.
     ///
     /// \throw None