mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-26 13:56:27 +00:00
Replace trim_left_matches with trim_start_matches
This commit is contained in:
parent
2d0768c8d2
commit
9660048b41
@ -88,7 +88,7 @@ impl<'var> Pair<'var> {
|
|||||||
let mut iter = self.value.split(';').peekable();
|
let mut iter = self.value.split(';').peekable();
|
||||||
|
|
||||||
while let Some(num) = iter.next() {
|
while let Some(num) = iter.next() {
|
||||||
match num.trim_left_matches('0') {
|
match num.trim_start_matches('0') {
|
||||||
|
|
||||||
// Bold and italic
|
// Bold and italic
|
||||||
"1" => style = style.bold(),
|
"1" => style = style.bold(),
|
||||||
|
Loading…
Reference in New Issue
Block a user