Skip to content

Commit 2c3616a

Browse files
committed
fix(ffi): add backticks to doc comments for clippy
1 parent ed48495 commit 2c3616a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/ffi/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use std::ffi::c_void;
33

44
// MARK: - CoreGraphics Initialization
55
extern "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

tests/content_filter_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ fn test_content_filter_equality() {
199199

200200
#[test]
201201
fn 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];

0 commit comments

Comments
 (0)