useless conversion
This commit is contained in:
1 parent
b5360af6de
commit
8873f458b4
2 files changed
+3
-3
No files matched your search
@@ -256,7 +256,7 @@ pub fn default_context() -> HashMapContext {
|
||||
});
|
||||
}
|
||||
let b = arg[0].as_boolean()?;
|
||||
if b.into() {
|
||||
if b {
|
||||
Ok(arg[1].clone())
|
||||
} else {
|
||||
Ok(arg[2].clone())
|
||||
|
||||
Reference in new issue
Block a user