We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b21bde0 commit a9030d3Copy full SHA for a9030d3
resources/dscecho/src/main.rs
@@ -40,7 +40,10 @@ fn main() {
40
}
41
},
42
Output::Object(ref mut obj) => {
43
- *obj = redact(&Value::Object(obj.clone())).as_object().unwrap().clone();
+ *obj = redact(&Value::Object(obj.clone()))
44
+ .as_object()
45
+ .expect("Expected redact() to return a Value::Object")
46
+ .clone();
47
48
_ => {}
49
0 commit comments