Skip to content

Commit 592c55d

Browse files
authored
Replace the deprecated use of trim_right (#84)
1 parent c554358 commit 592c55d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jd4/integration_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_rs(self):
9090
let mut line = String::new();
9191
std::io::stdin().read_line(&mut line).unwrap();
9292
let numbers: Vec<i32> =
93-
line.trim_right().split(' ').map(|s| s.parse().unwrap()).collect();
93+
line.trim_end().split(' ').map(|s| s.parse().unwrap()).collect();
9494
let sum: i32 = numbers.iter().sum();
9595
println!("{}", sum);
9696
}""")

0 commit comments

Comments
 (0)