Skip to content

Commit

Permalink
Avoid lint for unused import by only importing when used
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Nov 9, 2024
1 parent 34c0701 commit a755723
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/shaping/macos.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// WARNING: this file was generated by ../scripts/gen-shaping-tests.py

#[cfg(target_os = "macos")]
use crate::shape;

#[cfg(target_os = "macos")]
Expand Down

0 comments on commit a755723

Please sign in to comment.