Răsfoiți Sursa

Move comment

Ben S 11 ani în urmă
părinte
comite
178e24552d
1 a modificat fișierele cu 4 adăugiri și 3 ștergeri
  1. 4 3
      src/colours.rs

+ 4 - 3
src/colours.rs

@@ -5,9 +5,7 @@
 
 // Bear in mind that the first eight (and their bold variants) are
 // user-definable and can look different on different terminals, but
-// the other 256 have their values fixed. Prefer using a fixed grey,
-// such as Fixed(244), to bold black, as bold black looks really weird
-// on some terminals.
+// the other 256 have their values fixed.
 
 pub enum Colour {
     Black, Red, Green, Yellow, Blue, Purple, Cyan, White, Fixed(u8),
@@ -46,6 +44,9 @@ impl Colour {
     }        
 }
 
+// Prefer using a fixed grey, such as Fixed(244), to bold black, as
+// bold black looks really weird on some terminals.
+
 pub static Grey: Colour = Fixed(244);
 
 // There are only three different styles: plain (no formatting), only