changeset 79:f13bd9fcc159

Fix comment type of some comments
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 17 Jul 2016 21:08:58 +0200
parents ca939577d2ca
children c1d4f3fe058b
files src/skipmap.rs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/skipmap.rs	Sun Jul 17 21:08:15 2016 +0200
+++ b/src/skipmap.rs	Sun Jul 17 21:08:58 2016 +0200
@@ -76,7 +76,7 @@
         n.key.starts_with(&key)
     }
 
-    // Returns the node with key or the next greater one
+    /// Returns the node with key or the next greater one
     fn get_greater_or_equal<'a>(&'a self, key: &[u8]) -> &'a Node {
         // Start at the highest skip link of the head node, and work down from there
         let mut current: *const Node = unsafe { transmute_copy(&self.head.as_ref()) };
@@ -220,7 +220,7 @@
         }
     }
 
-    // Runs through the skipmap and prints everything including addresses
+    /// Runs through the skipmap and prints everything including addresses
     fn dbg_print(&self) {
         let mut current: *const Node = unsafe { transmute_copy(&self.head.as_ref()) };
         loop {