File tree 3 files changed +14
-8
lines changed 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -826,7 +826,11 @@ where
826
826
}
827
827
_ => {
828
828
let tok_end = self . get_pos ( ) ;
829
- return Some ( Ok ( ( tok_start, Tok :: DoubleSlash , tok_end) ) ) ;
829
+ return Some ( Ok ( (
830
+ tok_start,
831
+ Tok :: DoubleSlash ,
832
+ tok_end,
833
+ ) ) ) ;
830
834
}
831
835
}
832
836
}
Original file line number Diff line number Diff line change @@ -62,13 +62,13 @@ pub fn init(context: &PyContext) {
62
62
PyBytesRef :: extend_class ( context, & context. bytes_type ) ;
63
63
let bytes_type = & context. bytes_type ;
64
64
extend_class ! ( context, bytes_type, {
65
- "fromhex" => context. new_rustfunc( PyBytesRef :: fromhex) ,
66
- } ) ;
65
+ "fromhex" => context. new_rustfunc( PyBytesRef :: fromhex) ,
66
+ } ) ;
67
67
let bytesiterator_type = & context. bytesiterator_type ;
68
68
extend_class ! ( context, bytesiterator_type, {
69
- "__next__" => context. new_rustfunc( PyBytesIteratorRef :: next) ,
70
- "__iter__" => context. new_rustfunc( PyBytesIteratorRef :: iter) ,
71
- } ) ;
69
+ "__next__" => context. new_rustfunc( PyBytesIteratorRef :: next) ,
70
+ "__iter__" => context. new_rustfunc( PyBytesIteratorRef :: iter) ,
71
+ } ) ;
72
72
}
73
73
74
74
#[ pyimpl( __inside_vm) ]
Original file line number Diff line number Diff line change @@ -127,8 +127,10 @@ fn super_new(
127
127
match vm. get_locals ( ) . get_item_option ( first_arg, vm) ? {
128
128
Some ( obj) => obj. clone ( ) ,
129
129
_ => {
130
- return Err ( vm
131
- . new_type_error ( format ! ( "super arguement {} was not supplied" , first_arg) ) ) ;
130
+ return Err ( vm. new_type_error ( format ! (
131
+ "super arguement {} was not supplied" ,
132
+ first_arg
133
+ ) ) ) ;
132
134
}
133
135
}
134
136
} else {
You can’t perform that action at this time.
0 commit comments