File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " platform-info"
3
- version = " 2.0.1 "
3
+ version = " 2.0.2 "
4
4
authors = [
" Alex Lyon <[email protected] >" ]
5
5
edition = " 2018"
6
6
description = " A simple cross-platform interface to get info about a system"
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const HOST_OS_NAME: &str = if cfg!(all(
53
53
} else if cfg ! ( target_os = "redox" ) {
54
54
"Redox"
55
55
} else if cfg ! ( target_os = "illumos" ) {
56
- "Illumos "
56
+ "illumos "
57
57
} else {
58
58
"unknown"
59
59
} ;
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ impl Debug for UTSName {
116
116
. field ( "version" , & oss_from_cstr ( & self . 0 . version ) )
117
117
. field ( "machine" , & oss_from_cstr ( & self . 0 . machine ) ) ;
118
118
// The domainname field is not part of the POSIX standard but a GNU extension. Therefor
119
- // BSD-like platforms and Illumos are missing the domainname field.
119
+ // BSD-like platforms and illumos are missing the domainname field.
120
120
#[ cfg( not( any(
121
121
target_os = "illumos" ,
122
122
target_os = "macos" ,
@@ -150,7 +150,7 @@ impl PartialEq for UTSName {
150
150
other. 0 . machine ,
151
151
) ;
152
152
// The domainname field is not part of the POSIX standard but a GNU extension. Therefor
153
- // BSD-like platforms and Illumos are missing the domainname field.
153
+ // BSD-like platforms and illumos are missing the domainname field.
154
154
#[ cfg( not( any(
155
155
target_os = "illumos" ,
156
156
target_os = "macos" ,
You can’t perform that action at this time.
0 commit comments