2020-05-19 06:54:22 -05:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
pub struct Body;
|
|
|
|
|
|
|
|
impl Body {
|
|
|
|
pub fn empty() -> Self {
|
|
|
|
Body
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Default for Body {
|
2021-03-17 13:41:01 -05:00
|
|
|
// @has foo/struct.Body.html '//a/@href' 'struct.Body.html#method.empty'
|
2020-05-19 06:54:22 -05:00
|
|
|
|
|
|
|
/// Returns [`Body::empty()`](Body::empty).
|
|
|
|
fn default() -> Body {
|
|
|
|
Body::empty()
|
|
|
|
}
|
|
|
|
}
|