Do not String::from(String)
This commit is contained in:
parent
6f5590713a
commit
22170a0d55
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ pub fn entry_buffer_to_header_content(buf: &str) -> Result<(Value, String)> {
|
|||
}
|
||||
}
|
||||
|
||||
Ok((Value::parse(&header)?, String::from(content)))
|
||||
Ok((Value::parse(&header)?, content))
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Reference in a new issue