Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

small cleanup

  • Loading branch information...
commit 63a138a9765f516b20e76b22cd5a44c2573bd840 1 parent b71b64a
Steve Jenson authored December 08, 2012

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  red_black_tree.rs
3  red_black_tree.rs
@@ -7,14 +7,13 @@ pub trait Map<K: Copy Eq Ord, V: Copy> {
7 7
   pure fn delete(k: K) -> self;
8 8
 }
9 9
 
10  
-// private
11 10
 enum RBColor {
12 11
   Red,
13 12
   Black
14 13
 }
15 14
 
16 15
 pub enum RBMap<K: Copy Eq Ord, V: Copy> {
17  
-  //   color    left         k  value      right
  16
+  //   color    left         k  value       right
18 17
   Tree(RBColor, @RBMap<K,V>, K, @Option<V>, @RBMap<K,V>),
19 18
   Leaf
20 19
 }

0 notes on commit 63a138a

Please sign in to comment.
Something went wrong with that request. Please try again.