Skip to content

Commit 7f00973

Browse files
authored
Update gui_LoopTerminat.rst.inc
1 parent 08bb68c commit 7f00973

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/coding-guidelines/expressions/gui_LoopTerminat.rst.inc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@
146146
i = i.wrapping_add(1);
147147
}
148148
}
149-
150-
fn main() {
151-
// This will loop forever because when i == u32::MAX,
152-
// i.wrapping_add(1) becomes 0, which is still <= u32::MAX
153-
count_up(u32::MAX);
154-
}
149+
150+
fn main() {
151+
// This will loop forever because when i == u32::MAX,
152+
// i.wrapping_add(1) becomes 0, which is still <= u32::MAX
153+
count_up(u32::MAX);
154+
}
155155

156156
.. non_compliant_example::
157157
:id: non_compl_ex_InfLoop4

0 commit comments

Comments
 (0)