Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--
364
d---------
d---------
Markup { text } } } impl fmt::Display for Markup { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt::Display::fmt(&self.text, f) } } impl Markup { pub fn as_str(&self) -> &str { self.text.as_str() } pub fn fenced_block(contents: impl fmt::Display) -> Markup { format!("```rust\n{contents}\n```").into() } }