1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
pub struct Foo;
impl Foo {
/// hello
///
/// <div class="warning">this is a warning</div>
///
/// done
pub fn warning1() {}
/// Checking there is no bottom margin if "warning" is the last element.
///
/// <div class="warning">this is a warning</div>
pub fn warning2() {}
}