File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ use std::ffi::c_void;
33
44// MARK: - CoreGraphics Initialization
55extern "C" {
6- /// Force CoreGraphics initialization by calling CGMainDisplayID
7- /// This prevents CGS_REQUIRE_INIT crashes on headless systems
6+ /// Force CoreGraphics initialization by calling ` CGMainDisplayID`
7+ /// This prevents ` CGS_REQUIRE_INIT` crashes on headless systems
88 pub fn sc_initialize_core_graphics ( ) ;
99}
1010
Original file line number Diff line number Diff line change @@ -199,8 +199,8 @@ fn test_content_filter_equality() {
199199
200200#[ test]
201201fn test_content_filter_hash ( ) {
202- cg_init_for_headless_ci ( ) ;
203202 use std:: collections:: HashSet ;
203+ cg_init_for_headless_ci ( ) ;
204204
205205 let content = SCShareableContent :: get ( ) . expect ( "Failed to get shareable content" ) ;
206206 let display = & content. displays ( ) [ 0 ] ;
You can’t perform that action at this time.
0 commit comments