Skip to content

Commit 080556f

Browse files
authored
Fix icrate's clippy customization
1 parent 259e868 commit 080556f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ disallowed-methods = [
1010
{ path = "web_sys::Element::request_fullscreen", reason = "Doesn't account for compatibility with Safari" },
1111
{ path = "web_sys::Document::exit_fullscreen", reason = "Doesn't account for compatibility with Safari" },
1212
{ path = "web_sys::Document::fullscreen_element", reason = "Doesn't account for compatibility with Safari" },
13-
{ path = "icrate::AppKit::NSView::visibleRect", reason = "We expose a render target to the user, and visibility is not really relevant to that (and can break if you don't use the rectangle position as well). Use `frame` instead." },
14-
{ path = "icrate::AppKit::NSWindow::setFrameTopLeftPoint", reason = "Not sufficient when working with Winit's coordinate system, use `flip_window_screen_coordinates` instead" },
13+
{ path = "objc2_app_kit::NSView::visibleRect", reason = "We expose a render target to the user, and visibility is not really relevant to that (and can break if you don't use the rectangle position as well). Use `frame` instead." },
14+
{ path = "objc2_app_kit::NSWindow::setFrameTopLeftPoint", reason = "Not sufficient when working with Winit's coordinate system, use `flip_window_screen_coordinates` instead" },
1515
]

0 commit comments

Comments
 (0)