Skip to content

Commit

Permalink
fix: automatic cargo recommended fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-pitblado committed Oct 26, 2024
1 parent 1354f4d commit 42f1719
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/api.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::models::{Label, Task, TaskDetail};
use crate::models::{Task, TaskDetail};
use reqwest::Client;
use std::collections::HashMap;

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {

terminal.hide_cursor()?;

let mut app = App::new(tasks);
let app = App::new(tasks);

let res = run_app(&mut terminal, app, &instance_url, &api_key).await;

Expand Down
3 changes: 1 addition & 2 deletions src/ui.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use crate::app::{App, InputMode};
use crate::models::{Label, Task};
use ansi_parser::{AnsiParser, Output};
use crossterm::event::{self, Event as CEvent, KeyCode};
use crossterm::event::{self, Event as CEvent};
use ratatui::{
backend::Backend,
layout::{Alignment, Constraint, Direction, Layout, Rect},
Expand Down

0 comments on commit 42f1719

Please sign in to comment.