From f410da5cbed620836df663a18350211093be686d Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sat, 8 Oct 2016 17:34:13 -0400 Subject: [PATCH] Add doc comments describing fields on `externalfiles::ExternalHtml`. --- src/librustdoc/externalfiles.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/librustdoc/externalfiles.rs b/src/librustdoc/externalfiles.rs index 8b71c133ed48..7a6b414e79ed 100644 --- a/src/librustdoc/externalfiles.rs +++ b/src/librustdoc/externalfiles.rs @@ -16,8 +16,14 @@ use std::str; #[derive(Clone)] pub struct ExternalHtml{ + /// Content that will be included inline in the section of a + /// rendered Markdown file or generated documentation pub in_header: String, + /// Content that will be included inline between and the content of + /// a rendered Markdown file or generated documentation pub before_content: String, + /// Content that will be included inline between the content and of + /// a rendered Markdown file or generated documentation pub after_content: String }