mirror of
https://github.com/soywod/himalaya.git
synced 2025-04-22 17:23:27 +00:00
fix nix run command
This commit is contained in:
parent
a14ce2af60
commit
4bbc348dc6
1 changed files with 4 additions and 2 deletions
|
@ -42,8 +42,10 @@ impl Cell {
|
|||
// and [variation selectors].
|
||||
//
|
||||
// [variation selectors]: https://en.wikipedia.org/wiki/Variation_Selectors_(Unicode_block)
|
||||
value: String::from(value.as_ref())
|
||||
.replace(&['\r', '\n', '\t', '\u{fe0e}', '\u{fe0f}'], ""),
|
||||
value: String::from(value.as_ref()).replace(
|
||||
|c| ['\r', '\n', '\t', '\u{fe0e}', '\u{fe0f}'].contains(&c),
|
||||
"",
|
||||
),
|
||||
..Self::default()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue