Skip to content

Commit

Permalink
and format so that now clippy will fail >_<
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden committed May 28, 2024
1 parent f39283e commit e005434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constants/numbers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ pub const CONTROLLER_DOWNGRADE_RESTORE: u32 = 100;
/// Quoting from the [3.2.0 patch notes](https://blog.screeps.com/2018/12/changelog-2018-12-14/):
///
/// > * When the controller gains or loses one level, its downgrade timer is set
/// > to 50% instead of 100%.
/// > to 50% instead of 100%.

Check failure on line 328 in src/constants/numbers.rs

View workflow job for this annotation

GitHub Actions / clippy (nightly)

doc list item missing indentation
/// > * Safe mode activation unavailable period starts from this 50% point minus
/// > 5000 ticks.
/// > 5000 ticks.

Check failure on line 330 in src/constants/numbers.rs

View workflow job for this annotation

GitHub Actions / clippy (nightly)

doc list item missing indentation
///
/// For example, a newly upgraded RCL7 room will have 75,000 ticks to downgrade
/// out of its 150,000 maximum, and safe mode becomes unavailable if the timer
Expand Down

0 comments on commit e005434

Please sign in to comment.