(fix) Use the clone implementation for &str.

This commit is contained in:
Jonathan Reem
2014-12-20 02:39:29 -08:00
parent 90925f05ee
commit 06a9ccf978

View File

@@ -588,7 +588,7 @@ pub struct RawStatus(pub u16, pub SendStr);
impl Clone for RawStatus {
fn clone(&self) -> RawStatus {
RawStatus(self.0, (*self.1).clone().into_cow())
RawStatus(self.0, self.1.clone().into_cow())
}
}