Commit cac52ede authored by Ian Jackson's avatar Ian Jackson
Browse files

tor-netdoc: Change one call to use try_collect()

This is a clearer.
parent 16d8c698
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1509,7 +1509,7 @@ where
            .split(' ')
            .filter(|p| !p.is_empty())
            .map(parse_pair)
            .collect::<Result<HashMap<_, _>>>()?;
            .try_collect()?;
        Ok(NetParams { params })
    }
}