Remove unsafe from BeetsLibraryCommandExecutor #22
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: wojtek/musichoard#22
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For the same reason why File::open does not have unsafe. The behaviour is not unsafe as it does not lead to undefined behaviour within the program itself. The bug from #18 was just a typical testing bug as described in https://doc.rust-lang.org/book/ch11-02-running-tests.html#running-tests-in-parallel-or-consecutively. Correct
Send
andSync
behaviour is ensured by correctly using&mut self
.