fix tests for Part::mime()
This commit is contained in:
		| @@ -197,13 +197,12 @@ impl Part { | |||||||
|         Ok(self) |         Ok(self) | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     /* Re-enable when mime 0.4 is available, with split MediaType/MediaRange. |     // Re-enable when mime 0.4 is available, with split MediaType/MediaRange. | ||||||
|     /// Sets the mime, builder style. |     #[cfg(test)] | ||||||
|     pub fn mime(mut self, mime: Mime) -> Part { |     fn mime(mut self, mime: Mime) -> Part { | ||||||
|         self.mime = Some(mime); |         self.mime = Some(mime); | ||||||
|         self |         self | ||||||
|     } |     } | ||||||
|     */ |  | ||||||
|  |  | ||||||
|     /// Sets the filename, builder style. |     /// Sets the filename, builder style. | ||||||
|     pub fn file_name<T: Into<Cow<'static, str>>>(mut self, filename: T) -> Part { |     pub fn file_name<T: Into<Cow<'static, str>>>(mut self, filename: T) -> Part { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user