From 2746e088aedb3b260396c0b57c6bb7bf45e4cf1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Gali=C4=87?= Date: Sun, 26 May 2019 12:16:50 +0200 Subject: [PATCH] appease clippy --- plume-models/src/blogs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-models/src/blogs.rs b/plume-models/src/blogs.rs index 69d3e129..2a7fa121 100644 --- a/plume-models/src/blogs.rs +++ b/plume-models/src/blogs.rs @@ -325,7 +325,7 @@ impl Blog { .select(blogs::custom_domain) .load::>(conn) .map_err(Error::from) - .map(|res| res.into_iter().map(|s| s.unwrap()).collect::>()) + .map(|res| res.into_iter().map(Option::unwrap).collect::>()) } }