Skip to content

Commit

Permalink
Avoid lint for unused import by only importing when used (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque authored Nov 11, 2024
1 parent 2f178dc commit aea8299
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 aea8299

Please sign in to comment.