Skip to content

Commit

Permalink
Resolve warnings on iOS with no-default-features and disk
Browse files Browse the repository at this point in the history
`cargo check --target=aarch64-apple-ios --no-default-features --features=disk`

    warning: unused import: `self::ios as inner`
      --> src/unix/apple/mod.rs:15:24
       |
    15 |         pub(crate) use self::ios as inner;
       |                        ^^^^^^^^^^^^^^^^^^
       |
       = note: `#[warn(unused_imports)]` on by default
  • Loading branch information
dtolnay committed Dec 7, 2024
1 parent f8b62e2 commit 1bd4ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/apple/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cfg_if! {
if #[cfg(all(target_os = "macos", any(feature = "disk", feature = "system", feature = "component")))] {
pub(crate) mod macos;
pub(crate) use self::macos as inner;
} else if #[cfg(all(target_os = "ios", any(feature = "disk", feature = "system", feature = "component")))] {
} else if #[cfg(all(target_os = "ios", any(feature = "system", feature = "component")))] {
pub(crate) mod ios;
pub(crate) use self::ios as inner;
}
Expand Down

0 comments on commit 1bd4ba2

Please sign in to comment.