Impl Clone for header::ToStrError (#203)

This commit is contained in:
Aleksey Ivanov
2018-05-25 00:30:36 +03:00
committed by Carl Lerche
parent 0ed7cdaa2d
commit bc17d0d809
+1 -1
View File
@@ -38,7 +38,7 @@ pub struct InvalidHeaderValueBytes(InvalidHeaderValue);
///
/// Header field values may contain opaque bytes, in which case it is not
/// possible to represent the value as a string.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct ToStrError {
_priv: (),
}