From 10d900a2805100a0a86267d50aadbe235cbc1058 Mon Sep 17 00:00:00 2001 From: Koxiaet Date: Mon, 26 Oct 2020 15:14:53 +0000 Subject: [PATCH] Rustfmt --- examples | 2 +- src/registry/export_sdl.rs | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/examples b/examples index d635246b..1c6f9821 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit d635246bdc9a1eb0d115efb6ba890a417defb394 +Subproject commit 1c6f98211dec59f512fc2628b17d8e7d5a74bba6 diff --git a/src/registry/export_sdl.rs b/src/registry/export_sdl.rs index fdb109c4..91e9e28f 100644 --- a/src/registry/export_sdl.rs +++ b/src/registry/export_sdl.rs @@ -131,7 +131,16 @@ impl Registry { write!(sdl, "type {} ", name).ok(); if let Some(implements) = self.implements.get(name) { if !implements.is_empty() { - write!(sdl, "implements {} ", implements.iter().map(AsRef::as_ref).collect::>().join(" & ")).ok(); + write!( + sdl, + "implements {} ", + implements + .iter() + .map(AsRef::as_ref) + .collect::>() + .join(" & ") + ) + .ok(); } }