Fix clippy lints
This commit is contained in:
parent
c772c178e9
commit
c6eacb0936
2 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ fn main() -> Result<()> {
|
||||||
Command::Check(list_options) => Course::check(&list_options)?,
|
Command::Check(list_options) => Course::check(&list_options)?,
|
||||||
Command::Meetings(options) => rofi::select_meeting(&options)?,
|
Command::Meetings(options) => rofi::select_meeting(&options)?,
|
||||||
Command::ShowConfig => println!("{:?}", *CONFIG),
|
Command::ShowConfig => println!("{:?}", *CONFIG),
|
||||||
Command::AddMeeting(meeting) => (),
|
Command::AddMeeting(_meeting) => (),
|
||||||
Command::ShowCurrentCourse => println!("{:?}", Course::current()),
|
Command::ShowCurrentCourse => println!("{:?}", Course::current()),
|
||||||
//Course::current().meetings.push(meeting),
|
//Course::current().meetings.push(meeting),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ pub fn select_meeting(options: &ListOptions) -> Result<()> {
|
||||||
.collect();
|
.collect();
|
||||||
let element = Rofi::new(&meeting_names).run_index()?;
|
let element = Rofi::new(&meeting_names).run_index()?;
|
||||||
let mut clip = Command::new("xclip")
|
let mut clip = Command::new("xclip")
|
||||||
.args(&["-sel", "clip"])
|
.args(["-sel", "clip"])
|
||||||
.stdin(Stdio::piped())
|
.stdin(Stdio::piped())
|
||||||
.spawn()
|
.spawn()
|
||||||
.expect("Could not spawn xclip process");
|
.expect("Could not spawn xclip process");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue