This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/cli/commands/list.rs b/src/cli/commands/list.rs | |
index 2c2de51..501c3fb 100644 | |
--- a/src/cli/commands/list.rs | |
+++ b/src/cli/commands/list.rs | |
@@ -11,8 +11,9 @@ impl GenericCommand for ListCommand { | |
let sort_order = matches.value_of("sort-order").expect("required argument"); | |
let mut colors: Vec<&NamedColor> = NAMED_COLORS.iter().collect(); | |
- colors.sort_by_key(|nc| key_function(sort_order, &nc.color)); | |
- colors.dedup_by(|n1, n2| n1.color == n2.color); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
c3c compile --nolibc --nostdlib main.c3 --emit-llvm --emit-asm -O0 "$@" |