Skip to content

Commit 4673086

Browse files
bors[bot]phimuemue
andauthored
Merge #441
441: Simplify phantom data type parameter r=jswrenn a=phimuemue Simplifies the type parameter for a `PhantomData`. Co-authored-by: philipp <[email protected]>
2 parents 2d22ff9 + ee09266 commit 4673086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adaptors/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ impl_tuple_combination!(Tuple4Combination Tuple3Combination ; A, A, A, A, A; a b
10961096
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
10971097
pub struct MapInto<I, R> {
10981098
iter: I,
1099-
_res: PhantomData<fn() -> R>,
1099+
_res: PhantomData<R>,
11001100
}
11011101

11021102
/// Create a new [`MapInto`](struct.MapInto.html) iterator.

0 commit comments

Comments
 (0)