use correct error handling in utils.rs #1

Open
opened 2022-04-10 22:06:31 +02:00 by ddidderr · 0 comments
Owner

Some(f) => Box::new(File::open(f.as_ref()).unwrap()),

and

Some(f) => Box::new(File::create(f.as_ref()).unwrap()),

https://git.comff.net/ddidderr/fcry/src/commit/668e726c2195f2af2282b3bf339f5aa356744632/src/utils.rs#L9 and https://git.comff.net/ddidderr/fcry/src/commit/668e726c2195f2af2282b3bf339f5aa356744632/src/utils.rs#L16
ddidderr added the
enhancement
label 2022-04-24 08:11:50 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ddidderr/fcry#1
No description provided.