We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 826e6d4 commit 7e581a6Copy full SHA for 7e581a6
src/parse.rs
@@ -54,7 +54,7 @@ where
54
lines = rest;
55
56
match map(resp)? {
57
- MapOrNot::Map(t) => into.extend(Some(t)),
+ MapOrNot::Map(t) => into.extend(std::iter::once(t)),
58
MapOrNot::MapVec(t) => into.extend(t),
59
MapOrNot::Not(resp) => match try_handle_unilateral(resp, unsolicited) {
60
Some(Response::Fetch(..)) => continue,
0 commit comments