pkstrings: Remove uneeded assignation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
62a9e24b97
commit
ed9c806096
1 changed files with 2 additions and 4 deletions
|
@ -21,7 +21,7 @@ use std::ops::Deref;
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref STRTOHEX: HashMap<char, u8> = {
|
static ref STRTOHEX: HashMap<char, u8> = {
|
||||||
let tmp = [
|
[
|
||||||
('A', 0x80),
|
('A', 0x80),
|
||||||
('B', 0x81),
|
('B', 0x81),
|
||||||
('C', 0x82),
|
('C', 0x82),
|
||||||
|
@ -106,9 +106,7 @@ lazy_static! {
|
||||||
('9', 0xff),
|
('9', 0xff),
|
||||||
(' ', 0x7f),
|
(' ', 0x7f),
|
||||||
('@', 0x50),
|
('@', 0x50),
|
||||||
];
|
].iter().copied().collect()
|
||||||
|
|
||||||
tmp.iter().copied().collect()
|
|
||||||
};
|
};
|
||||||
static ref HEXTOSTR: Vec<Option<char>> = {
|
static ref HEXTOSTR: Vec<Option<char>> = {
|
||||||
let tmp = [
|
let tmp = [
|
||||||
|
|
Loading…
Reference in a new issue