mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-01 02:33:54 +03:00
446a21696d
* More conventional spelling of acronym identifiers * `new` -> `new_state` * Remove redundant field name * Remove needless `collect` * `to_controls` -> `make_controls` * Simplify long if statement * Fix module inception * Simplify chained if let * Return directly instead of creating a binding * Disable clippy warning about `borrow` method Implementing the `Borrow` trait instead would result in excessive type annotations. * Fix most remaining clippy warnings * Allow clippy::type_complexity * Fix bad merge from web editor * Run cargo fmt * Suppress large_enum_variant warnings * Rename FYI state to ShowMessage * Fix upper_case_acronyms warnings Co-authored-by: Dustin Carlino <dabreegster@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |