Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
paulchambaz committed Jul 28, 2024
1 parent b398036 commit e83eb08
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,6 @@ pub fn edit(cmd: cli::CalendarEditArgs) -> Result<()> {
cmd.desc,
)?;

for event in calendar.events {
println!("{:?}", event);
}

Ok(())
}

Expand Down
2 changes: 0 additions & 2 deletions src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ pub fn write_event(calendar_path: &Path, event: &Event) -> Result<()> {
{}\
BEGIN:VALARM\r\n\
ACTION:DISPLAY\r\n\
DESCRIPTION:{}\r\n\
TRIGGER:-PT10M\r\n\
END:VALARM\r\n\
END:VEVENT\r\n\
Expand All @@ -174,7 +173,6 @@ pub fn write_event(calendar_path: &Path, event: &Event) -> Result<()> {
.description
.as_ref()
.map_or(String::new(), |desc| format!("DESCRIPTION:{}\r\n", desc)),
event.name
);

file.write_all(ics_content.as_bytes())?;
Expand Down

0 comments on commit e83eb08

Please sign in to comment.