@@ -294,7 +294,7 @@ impl PyDict {
294294 Ok ( ( ) )
295295 }
296296
297- fn __or__ ( & self , other : PyObjectRef , vm : & VirtualMachine ) -> PyResult {
297+ fn __or__ ( & self , other : PyObjectRef , vm : & VirtualMachine ) -> PyResult {
298298 let other_dict: Result < PyDictRef , _ > = other. downcast ( ) ;
299299 if let Ok ( other) = other_dict {
300300 let self_cp = self . copy ( ) ;
@@ -403,12 +403,12 @@ impl PyRef<PyDict> {
403403 PyDictReverseKeyIterator :: new ( self )
404404 }
405405
406- fn __ior__ ( self , other : PyObjectRef , vm : & VirtualMachine ) -> PyResult < Self > {
406+ fn __ior__ ( self , other : PyObjectRef , vm : & VirtualMachine ) -> PyResult < Self > {
407407 self . merge_object ( other, vm) ?;
408408 Ok ( self )
409409 }
410410
411- fn __ror__ ( self , other : PyObjectRef , vm : & VirtualMachine ) -> PyResult {
411+ fn __ror__ ( self , other : PyObjectRef , vm : & VirtualMachine ) -> PyResult {
412412 let other_dict: Result < Self , _ > = other. downcast ( ) ;
413413 if let Ok ( other) = other_dict {
414414 let other_cp = other. copy ( ) ;
@@ -1045,31 +1045,31 @@ trait ViewSetOps: DictView {
10451045 PySetInner :: from_iter ( iter, vm)
10461046 }
10471047
1048- fn __xor__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
1048+ fn __xor__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
10491049 let zelf = Self :: to_set ( zelf, vm) ?;
10501050 let inner = zelf. symmetric_difference ( other, vm) ?;
10511051 Ok ( PySet { inner } )
10521052 }
10531053
1054- fn __and__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
1054+ fn __and__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
10551055 let zelf = Self :: to_set ( zelf, vm) ?;
10561056 let inner = zelf. intersection ( other, vm) ?;
10571057 Ok ( PySet { inner } )
10581058 }
10591059
1060- fn __or__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
1060+ fn __or__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
10611061 let zelf = Self :: to_set ( zelf, vm) ?;
10621062 let inner = zelf. union ( other, vm) ?;
10631063 Ok ( PySet { inner } )
10641064 }
10651065
1066- fn __sub__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
1066+ fn __sub__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
10671067 let zelf = Self :: to_set ( zelf, vm) ?;
10681068 let inner = zelf. difference ( other, vm) ?;
10691069 Ok ( PySet { inner } )
10701070 }
10711071
1072- fn __rsub__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
1072+ fn __rsub__ ( zelf : PyRef < Self > , other : ArgIterable , vm : & VirtualMachine ) -> PyResult < PySet > {
10731073 let left = PySetInner :: from_iter ( other. iter ( vm) ?, vm) ?;
10741074 let right = ArgIterable :: try_from_object ( vm, Self :: iter ( zelf, vm) ?) ?;
10751075 let inner = left. difference ( right, vm) ?;
0 commit comments