Rename sunos to solaris

This commit is contained in:
Nikita Baksalyar
2016-01-28 14:02:31 +03:00
parent 6d07b68f5e
commit e5da5d59f8
29 changed files with 55 additions and 57 deletions

View File

@@ -28,7 +28,7 @@ pub enum Os {
OsNetbsd,
OsOpenbsd,
OsNaCl,
OsSunos,
OsSolaris,
}
#[derive(PartialEq, Eq, Hash, RustcEncodable, RustcDecodable, Clone, Copy, Debug)]
@@ -148,7 +148,7 @@ impl fmt::Display for Os {
OsNetbsd => "netbsd".fmt(f),
OsOpenbsd => "openbsd".fmt(f),
OsNaCl => "nacl".fmt(f),
OsSunos => "sunos".fmt(f),
OsSolaris => "solaris".fmt(f),
}
}
}