Skip to content

Commit 1f622a3

Browse files
authored
Implement Default for Host (#976)
1 parent 614cb70 commit 1f622a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/platform/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,12 @@ macro_rules! impl_platform_host {
580580
)*
581581
}
582582
}
583+
584+
impl Default for Host {
585+
fn default() -> Host {
586+
default_host()
587+
}
588+
}
583589
};
584590
}
585591

0 commit comments

Comments
 (0)