docsplay 0.1.3

A derive macro for implementing the display Trait via a doc comment and string interpolation. Fork of displaydoc
Documentation
1
2
3
4
5
6
use docsplay::Display;

#[derive(Display)]
enum EmptyInside {}

static_assertions::assert_impl_all!(EmptyInside: core::fmt::Display);