appease clippy

This commit is contained in:
Igor Galić
2019-05-26 12:16:50 +02:00
committed by Igor Galić
parent 3a4c2f2cf9
commit 2746e088ae
+1 -1
View File
@@ -325,7 +325,7 @@ impl Blog {
.select(blogs::custom_domain)
.load::<Option<String>>(conn)
.map_err(Error::from)
.map(|res| res.into_iter().map(|s| s.unwrap()).collect::<Vec<_>>())
.map(|res| res.into_iter().map(Option::unwrap).collect::<Vec<_>>())
}
}