Skip to content

Commit b921fc5

Browse files
committed
pmap: fixed lint error
1 parent 05da8c1 commit b921fc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/by-util/test_pmap.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ use regex::Regex;
99
#[cfg(target_os = "linux")]
1010
use std::process;
1111

12-
const INIT_PID: &str = "1";
1312
const NON_EXISTING_PID: &str = "999999";
13+
#[cfg(target_os = "linux")]
14+
const INIT_PID: &str = "1";
1415

1516
#[test]
1617
fn test_no_args() {

0 commit comments

Comments
 (0)