File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -559,11 +559,11 @@ Expressions
559559 .. code-block :: rust
560560
561561 let bits : u32 = 61;
562- let shifts = vec![-1, 4, 40];
562+ let shifts = vec![-1, 4, 40];
563563
564- for sh in shifts {
565- println!("{bits} << {sh} = {}", bits << sh);
566- }
564+ for sh in shifts {
565+ println!("{bits} << {sh} = {}", bits << sh);
566+ }
567567
568568 .. compliant_example ::
569569 :id: compl_ex_Ux1WqHbGKV73
@@ -588,12 +588,12 @@ Expressions
588588 .. code-block :: rust
589589
590590 let bits : u32 = 61;
591- let shifts = vec![-1, 4, 40];
592-
593- for sh in shifts {
594- if 0 <= sh && sh < 32 {
595- println!("{bits} << {sh} = {}", bits << sh);
596- } else {
597- println!("Performing {bits} << {sh} would be meaningless and crash-prone; we avoided it!");
598- }
599- }
591+ let shifts = vec![-1, 4, 40];
592+
593+ for sh in shifts {
594+ if 0 <= sh && sh < 32 {
595+ println!("{bits} << {sh} = {}", bits << sh);
596+ } else {
597+ println!("Performing {bits} << {sh} would be meaningless and crash-prone; we avoided it!");
598+ }
599+ }
You can’t perform that action at this time.
0 commit comments