This commit is contained in:
Nathan Sobo 2023-09-20 20:40:30 -06:00
parent a8bb3dd9a3
commit 6d2b27689d
6 changed files with 34 additions and 42 deletions

View file

@ -1123,7 +1123,7 @@ mod tests {
}
fn build_platform() -> MacPlatform {
let mut platform = MacPlatform::new();
let platform = MacPlatform::new();
platform.0.borrow_mut().pasteboard = unsafe { NSPasteboard::pasteboardWithUniqueName(nil) };
platform
}