diff --git a/src/object/content.rs b/src/object/content.rs index 6640a07..2e92ae5 100644 --- a/src/object/content.rs +++ b/src/object/content.rs @@ -539,7 +539,7 @@ impl Inner { } fn parse_upload_id(&mut self, xml: &str) -> Result<(), ContentError> { if let (Some(start), Some(end)) = (xml.find(""), xml.find("")) { - self.upload_id = (&xml[start + 10..end]).to_owned(); + self.upload_id = xml[start + 10..end].to_owned(); Ok(()) } else { Err(ContentError::new(ContentErrorKind::NoFoundUploadId))