mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 03:17:43 +00:00
platform: Apple open events pass the paths through without a same-type conversion (macOS clippy)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
a5f6cd7f6c
commit
e5ac84f5f5
@@ -44,7 +44,7 @@ pub fn install(sender: IntakeSender) -> AppleEvents {
|
||||
fn forward(inbox: &Inbox, sender: &IntakeSender) {
|
||||
for event in inbox.drain() {
|
||||
match event {
|
||||
Event::Open(paths) => sender.open(paths.into_iter().map(Into::into).collect()),
|
||||
Event::Open(paths) => sender.open(paths.into_iter().collect()),
|
||||
Event::Quit => sender.quit(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user