mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 17:57:19 +02:00
Run cargo fmt
This commit is contained in:
parent
b41f323096
commit
ef37326da3
1 changed files with 1 additions and 2 deletions
|
@ -194,8 +194,7 @@ impl<'a> Widget for Calendar<'a> {
|
||||||
}
|
}
|
||||||
y += 1;
|
y += 1;
|
||||||
let mut x = area.x + startx;
|
let mut x = area.x + startx;
|
||||||
for c in startm..endm {
|
for d in days.iter_mut().skip(startm).take(endm) {
|
||||||
let d = &mut days[c];
|
|
||||||
let m = d.0.month() as usize;
|
let m = d.0.month() as usize;
|
||||||
let style = Style::default().bg(Color::Rgb(220, 220, 220));
|
let style = Style::default().bg(Color::Rgb(220, 220, 220));
|
||||||
if m == today.month() as usize && self.year + year as i32 == today.year() {
|
if m == today.month() as usize && self.year + year as i32 == today.year() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue