Rename args

This commit is contained in:
lynskylate
2019-08-26 01:44:56 +08:00
parent 1e1248090e
commit 936af5b9f8

View File

@@ -458,8 +458,8 @@ impl SocketRef {
}
}
fn settimeout(self, option_timeout: Option<f64>, vm: &VirtualMachine) -> PyResult<()> {
match option_timeout {
fn settimeout(self, timeout: Option<f64>, vm: &VirtualMachine) -> PyResult<()> {
match timeout {
Some(timeout) => {
self.timeout
.borrow_mut()