bitrot: update for lang/stdlib deprecations

This commit is contained in:
2021-02-04 07:15:35 -08:00
parent 9dd48d359c
commit 82c53bb761
3 changed files with 5 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ impl Tile {
8 => '⨇', // mountain '△'
9 => '☗', // dungeon
10 => '⍟', // city
11 | 13...15 => '⛫', // castle
11 | 13..=15 => '⛫', // castle
12 => '❖', // village
22 => '⎔', // tile floor
23 => '⟗', // bridge
@@ -104,7 +104,7 @@ impl Tile {
76 => '⌘', // lava
// 79 => '💥', // attack flash
// 88 | 89 => 'ጿ', // beggar
96...121 => ::std::char::from_u32((self.val - 31) as u32).unwrap(),
96..=121 => ::std::char::from_u32((self.val - 31) as u32).unwrap(),
122 => '=', // space
123 => '⊐', // right ''
124 => '⊏', // left '⊨'