mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 03:55:28 +00:00
Fixing Windows build warnings
This commit is contained in:
parent
bb004dc78c
commit
3ac28b8d5c
@ -127,7 +127,7 @@ pub struct Bytes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Module with a list of bright colors.
|
/// Module with a list of bright colors.
|
||||||
#[allow(dead_code, non_upper_case_globals)]
|
#[allow(dead_code)]
|
||||||
#[cfg(target_family = "unix")]
|
#[cfg(target_family = "unix")]
|
||||||
pub mod colors {
|
pub mod colors {
|
||||||
use termion::color::*;
|
use termion::color::*;
|
||||||
@ -161,6 +161,7 @@ pub mod colors {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Termion does not support Windows
|
// Termion does not support Windows
|
||||||
|
#[allow(dead_code, non_upper_case_globals)]
|
||||||
#[cfg(not(target_family = "unix"))]
|
#[cfg(not(target_family = "unix"))]
|
||||||
pub mod colors {
|
pub mod colors {
|
||||||
pub fn empty() -> &'static str {
|
pub fn empty() -> &'static str {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user