changeset 296:0c1c12771889

error: Implement PartialEq for Status.
author Lewin Bormann <lbo@spheniscida.de>
date Tue, 26 Sep 2017 20:11:15 +0200
parents 1aa0cf7bd6e7
children 49a40df5ddf8
files src/error.rs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/error.rs	Tue Sep 26 20:10:41 2017 +0200
+++ b/src/error.rs	Tue Sep 26 20:11:15 2017 +0200
@@ -22,7 +22,7 @@
     Unknown,
 }
 
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, PartialEq)]
 pub struct Status {
     pub code: StatusCode,
     pub err: String,