Merging upstream version 0.5.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
6b69abf4e7
commit
45ad53e42f
11 changed files with 2513 additions and 110 deletions
|
@ -367,7 +367,7 @@ where
|
|||
{
|
||||
let list: Option<Vec<Option<structs::User>>> =
|
||||
Option::deserialize(deserializer).map_err(DE::custom)?;
|
||||
Ok(list.map(|list| list.into_iter().filter_map(|x| x).collect::<Vec<_>>()))
|
||||
Ok(list.map(|list| list.into_iter().flatten().collect::<Vec<_>>()))
|
||||
}
|
||||
|
||||
fn parse_ssh_url(raw_url: &String) -> Result<Url, url::ParseError> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue