Rustfmt
This commit is contained in:
parent
686f9bcff9
commit
10d900a280
2
examples
2
examples
|
@ -1 +1 @@
|
||||||
Subproject commit d635246bdc9a1eb0d115efb6ba890a417defb394
|
Subproject commit 1c6f98211dec59f512fc2628b17d8e7d5a74bba6
|
|
@ -131,7 +131,16 @@ impl Registry {
|
||||||
write!(sdl, "type {} ", name).ok();
|
write!(sdl, "type {} ", name).ok();
|
||||||
if let Some(implements) = self.implements.get(name) {
|
if let Some(implements) = self.implements.get(name) {
|
||||||
if !implements.is_empty() {
|
if !implements.is_empty() {
|
||||||
write!(sdl, "implements {} ", implements.iter().map(AsRef::as_ref).collect::<Vec<&str>>().join(" & ")).ok();
|
write!(
|
||||||
|
sdl,
|
||||||
|
"implements {} ",
|
||||||
|
implements
|
||||||
|
.iter()
|
||||||
|
.map(AsRef::as_ref)
|
||||||
|
.collect::<Vec<&str>>()
|
||||||
|
.join(" & ")
|
||||||
|
)
|
||||||
|
.ok();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user