]>
git.proxmox.com Git - rustc.git/blob - src/tools/rustfmt/tests/target/configs/indent_style/rfc_control.rs
6619d8b2630369ac8b6c325f821340116548bb7c
1 // rustfmt-indent_style: Block
7 if ((right_paddle_speed
< 0.) && (right_paddle
.position().y
- paddle_size
.y
/ 2. > 5.))
8 || ((right_paddle_speed
> 0.)
9 && (right_paddle
.position().y
+ paddle_size
.y
/ 2. < game_height
as f32 - 5.))
13 if ai_timer
.elapsed_time().as_microseconds() > ai_time
.as_microseconds() {
14 if ball
.position().y
+ ball_radius
> right_paddle
.position().y
+ paddle_size
.y
/ 2.
28 if (!body_str
.contains('
\n'
) && body_str
.len() <= arm_shape
.width
)
29 || !context
.config
.match_arm_blocks()
30 || (extend
&& first_line_width(body_str
) <= arm_shape
.width
)