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::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),
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue