##// END OF EJS Templates
rust: simplify overly complicated expression...
Raphaël Gomès -
r42761:11c025c8 default
parent child Browse files
Show More
@@ -291,8 +291,7 b' py_class!(pub class Dirs |py| {'
291 Ok(self
291 Ok(self
292 .dirs_map(py)
292 .dirs_map(py)
293 .borrow()
293 .borrow()
294 .get(&item.extract::<PyBytes>(py)?.data(py).to_owned())
294 .contains_key(item.extract::<PyBytes>(py)?.data(py).as_ref()))
295 .is_some())
296 }
295 }
297 });
296 });
298
297
General Comments 0
You need to be logged in to leave comments. Login now