Document DocCommentFormatter

This commit is contained in:
Ruben Schmidmeister 2019-05-18 11:50:09 +02:00
parent 11a68d313a
commit 1ba35fc9b5
No known key found for this signature in database
GPG key ID: 29387B5A7AAF863F

View file

@ -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,