From dc0db358abe19481e475e10c32149b53370f1a1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:57:31 +0200 Subject: Merging upstream version 1.72.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/gix-features/tests/pipe.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/gix-features/tests/pipe.rs') diff --git a/vendor/gix-features/tests/pipe.rs b/vendor/gix-features/tests/pipe.rs index 4815000bf..f2055ea9e 100644 --- a/vendor/gix-features/tests/pipe.rs +++ b/vendor/gix-features/tests/pipe.rs @@ -49,7 +49,7 @@ mod io { writer.write_all(b"b\nc\n").expect("success"); drop(writer); assert_eq!( - reader.lines().flat_map(Result::ok).collect::>(), + reader.lines().map_while(Result::ok).collect::>(), vec!["a", "b", "c"] ) } -- cgit v1.2.3