We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code is formatted as follows with rustfmt 1.4.11-nightly (1838235 2019-12-03) and also rustfmt 2.0.0-rc.1-nightly (facba6a5 2020-01-14):
rustfmt 1.4.11-nightly (1838235 2019-12-03)
rustfmt 2.0.0-rc.1-nightly (facba6a5 2020-01-14)
fn main() { let global_manager = GlobalManager::new_with_cb(&display, global_filter!([WlSeat, 2, move |seat: Main<WlSeat>, _: DispatchData| { let seat_data = RefCell::new(SeatData::default()); seat.as_ref() .user_data() .set(move || seat_data); seat.quick_assign(seat_handler); seats_2.borrow_mut().push(seat); }])); }
Looks like it forgets to break the line after =, inserting the line break gives the desired result:
=
The text was updated successfully, but these errors were encountered:
Linking tracking issue for indent_style #3346
indent_style
Sorry, something went wrong.
No branches or pull requests
The following code is formatted as follows with
rustfmt 1.4.11-nightly (1838235 2019-12-03)
and alsorustfmt 2.0.0-rc.1-nightly (facba6a5 2020-01-14)
:Looks like it forgets to break the line after
=
, inserting the line break gives the desired result:The text was updated successfully, but these errors were encountered: