cargo fix --edition

This commit is contained in:
Daniel Eades
2019-08-07 18:07:35 +01:00
committed by Sean McArthur
parent c3b2a26c46
commit 86d9cbc66e
25 changed files with 163 additions and 163 deletions

View File

@@ -44,8 +44,8 @@ use std::path::Path;
use mime_guess::{self, Mime};
use async_impl::multipart::{FormParts, PartMetadata, PartProps};
use {Body};
use crate::async_impl::multipart::{FormParts, PartMetadata, PartProps};
use crate::{Body};
/// A multipart/form-data request.
pub struct Form {
@@ -233,7 +233,7 @@ impl Part {
}
/// Tries to set the mime of this part.
pub fn mime_str(self, mime: &str) -> ::Result<Part> {
pub fn mime_str(self, mime: &str) -> crate::Result<Part> {
Ok(self.mime(try_!(mime.parse())))
}