Fix clippy lints

This commit is contained in:
Jana Lemke 2023-05-24 11:14:07 +02:00
parent c772c178e9
commit c6eacb0936
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ fn main() -> Result<()> {
Command::Check(list_options) => Course::check(&list_options)?,
Command::Meetings(options) => rofi::select_meeting(&options)?,
Command::ShowConfig => println!("{:?}", *CONFIG),
Command::AddMeeting(meeting) => (),
Command::AddMeeting(_meeting) => (),
Command::ShowCurrentCourse => println!("{:?}", Course::current()),
//Course::current().meetings.push(meeting),
};

View file

@ -36,7 +36,7 @@ pub fn select_meeting(options: &ListOptions) -> Result<()> {
.collect();
let element = Rofi::new(&meeting_names).run_index()?;
let mut clip = Command::new("xclip")
.args(&["-sel", "clip"])
.args(["-sel", "clip"])
.stdin(Stdio::piped())
.spawn()
.expect("Could not spawn xclip process");