Skip to content

Commit

Permalink
fix(deps): update rust crate cocoa to 0.26 (#144)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <[email protected]>
  • Loading branch information
renovate[bot] and amrbashir authored Aug 15, 2024
1 parent fd76995 commit 1986ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ windows-version = "0.1"
]

[target."cfg(target_os = \"macos\")".dependencies]
cocoa = "0.25"
cocoa = "0.26"
objc = "0.2"
2 changes: 1 addition & 1 deletion src/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ mod internal {

// macos 10.10+
// https://developer.apple.com/documentation/appkit/nsvisualeffectview
#[allow(non_snake_case)]
#[allow(non_snake_case, dead_code)]
trait NSVisualEffectView: Sized {
unsafe fn alloc(_: Self) -> id {
msg_send![class!(NSVisualEffectView), alloc]
Expand Down

0 comments on commit 1986ac9

Please sign in to comment.