Skip to content

Commit 9845ee0

Browse files
committed
fix coding style
1 parent b6d3143 commit 9845ee0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/etc/gdb_rust_pretty_printing.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,14 @@ def display_hint():
286286
return "array"
287287

288288
def to_string(self):
289-
(tail, head, data_ptr, cap) = rustpp.extract_tail_head_ptr_and_cap_from_std_vecdeque(self.__val)
289+
(tail, head, data_ptr, cap) = \
290+
rustpp.extract_tail_head_ptr_and_cap_from_std_vecdeque(self.__val)
290291
return (self.__val.type.get_unqualified_type_name() +
291292
("(len: %i, cap: %i)" % (head - tail, cap)))
292293

293294
def children(self):
294-
(tail, head, data_ptr, cap) = rustpp.extract_tail_head_ptr_and_cap_from_std_vecdeque(self.__val)
295+
(tail, head, data_ptr, cap) = \
296+
rustpp.extract_tail_head_ptr_and_cap_from_std_vecdeque(self.__val)
295297
gdb_ptr = data_ptr.get_wrapped_value()
296298
for index in xrange(tail, head):
297299
yield (str(index), (gdb_ptr + index).dereference())

0 commit comments

Comments
 (0)