Skip to content

Commit

Permalink
Fix rename
Browse files Browse the repository at this point in the history
  • Loading branch information
AldaronLau committed Mar 4, 2024
1 parent 944edb4 commit 00a542a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/os/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl Target for Os {
} else if cfg!(target_os = "windows") {
Platform::Windows
} else if cfg!(target_os = "macos") {
Platform::MacOS
Platform::Mac
} else if cfg!(target_os = "redox") {
Platform::Redox
} else if cfg!(target_os = "linux") {
Expand Down
2 changes: 1 addition & 1 deletion src/os/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ impl Target for Os {

#[cfg(target_os = "macos")]
{
Platform::MacOS
Platform::Mac
}

#[cfg(any(
Expand Down
2 changes: 1 addition & 1 deletion src/os/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ impl Target for Os {
} else if string.contains("Linux") {
Platform::Linux
} else if string.contains("Mac OS X") {
Platform::MacOS
Platform::Mac
} else {
// TODO:
// Platform::FreeBsd,
Expand Down

0 comments on commit 00a542a

Please sign in to comment.