Update to uuid 0.7 (#340)

This commit is contained in:
Lucas Kent
2018-09-12 06:31:52 +10:00
committed by Sean McArthur
parent a205128f03
commit 99b52f949b
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ impl Form {
/// Creates a new Form without any content.
pub fn new() -> Form {
Form {
boundary: format!("{}", Uuid::new_v4().simple()),
boundary: format!("{}", Uuid::new_v4().to_simple()),
fields: Vec::new(),
headers: Vec::new(),
}