From ed032333a1bde0498d46132609330a9f92a52ab1 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Sat, 14 Oct 2017 00:16:08 -0400 Subject: Add missing function doc --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 9ba8535..fc5ec35 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -719,6 +719,11 @@ impl<'a> ParsedMail<'a> { Ok(decoded) } + /// Returns a struct containing a parsed representation of the + /// Content-Disposition header. The first header with this name + /// is used, if there are multiple. See the `parse_content_disposition` + /// method documentation for more details on the semantics of the + /// returned object. pub fn get_content_disposition(&self) -> Result { let disposition = self.headers .get_first_value("Content-Disposition")? -- cgit v1.2.3