summaryrefslogtreecommitdiffstats
path: root/src/custom_char.rs
diff options
context:
space:
mode:
authorAgathe Porte <microjoe@microjoe.org>2020-03-01 09:30:36 +0100
committerAgathe Porte <microjoe@microjoe.org>2020-03-01 09:30:36 +0100
commitd14adf8438539a9cd6b6c3587040fdc132914426 (patch)
tree7b53d52ac36615c12c7747a31e2cee0581d6140e /src/custom_char.rs
parentb27979abd3f5748539f60bbbb6a5b6c9d8a93bfc (diff)
downloadcharlcd-d14adf8438539a9cd6b6c3587040fdc132914426.tar.gz
charlcd-d14adf8438539a9cd6b6c3587040fdc132914426.zip
custom_char: rename ARROW to TRIANGLE
Diffstat (limited to 'src/custom_char.rs')
-rw-r--r--src/custom_char.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/custom_char.rs b/src/custom_char.rs
index cd43cf7..f03e5ba 100644
--- a/src/custom_char.rs
+++ b/src/custom_char.rs
@@ -16,7 +16,7 @@
//! ```
//! /// ▸
//! #[cfg_attr(rustfmt, rustfmt_skip)]
-//! pub const RIGHT_ARROW: [u8; 8] = [
+//! pub const RIGHT_TRIANGLE: [u8; 8] = [
//! 0b00000,
//! 0b01000,
//! 0b01100,
@@ -60,7 +60,7 @@ pub const fn mirror_y(src: [u8; 8]) -> [u8; 8] {
/// ▸
#[cfg_attr(rustfmt, rustfmt_skip)]
-pub const RIGHT_ARROW: [u8; 8] = [
+pub const RIGHT_TRIANGLE: [u8; 8] = [
0b00000,
0b01000,
0b01100,
@@ -72,11 +72,11 @@ pub const RIGHT_ARROW: [u8; 8] = [
];
/// ◂
-pub const LEFT_ARROW: [u8; 8] = mirror_x(RIGHT_ARROW);
+pub const LEFT_TRIANGLE: [u8; 8] = mirror_x(RIGHT_TRIANGLE);
/// ▴
#[cfg_attr(rustfmt, rustfmt_skip)]
-pub const UP_ARROW: [u8; 8] = [
+pub const UP_TRIANGLE: [u8; 8] = [
0b00000,
0b00000,
0b00100,
@@ -88,4 +88,4 @@ pub const UP_ARROW: [u8; 8] = [
];
/// ▾
-pub const DOWN_ARROW: [u8; 8] = mirror_y(UP_ARROW);
+pub const DOWN_TRIANGLE: [u8; 8] = mirror_y(UP_TRIANGLE);