mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Auto-format: cargo fmt --all
This commit is contained in:
1 parent
91c8e6df95
commit
9ffeef0665
1 file changed
+1
-3
@@ -1135,9 +1135,7 @@ mod _ssl {
|
||||
#[pygetset(setter)]
|
||||
fn set_options(&self, new_opts: i64, vm: &VirtualMachine) -> PyResult<()> {
|
||||
if new_opts < 0 {
|
||||
return Err(vm.new_value_error(
|
||||
"invalid options value".to_owned(),
|
||||
));
|
||||
return Err(vm.new_value_error("invalid options value".to_owned()));
|
||||
}
|
||||
let new_opts = new_opts as libc::c_ulong;
|
||||
let mut ctx = self.builder();
|
||||
|
||||
Reference in new issue
Block a user