Document DocCommentFormatter
This commit is contained in:
parent
11a68d313a
commit
1ba35fc9b5
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
use crate::comment::CommentStyle;
|
||||
use std::fmt::{self, Display};
|
||||
|
||||
/// Formats a string as a doc comment using the given [`CommentStyle`].
|
||||
#[derive(new)]
|
||||
pub(super) struct DocCommentFormatter<'a> {
|
||||
literal: &'a str,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue