Skip to content
New issue

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

Replace "days" with "try_days" in usage of chrono's "TimeDelta" #732

Closed
wants to merge 2 commits into from

Commits on May 19, 2024

  1. cargo-crev: replace deprecated days with try_days

    The "days" function on "chrono::Duration" is deprecated in favor of
    "try_days". Replace it with "try_days" and add an assertion that 2 days
    doesn't overflow chrono's "TimeDelta".
    
    Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
    Witcher01 authored and kornelski committed May 19, 2024
    Configuration menu
    Copy the full SHA
    9e14b49 View commit details
    Browse the repository at this point in the history
  2. format: Use cargo fmt

    As per the description on new pull requests, everything is formatted
    with "cargo +nightly fmt --all".
    
    Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
    Witcher01 authored and kornelski committed May 19, 2024
    Configuration menu
    Copy the full SHA
    5daad96 View commit details
    Browse the repository at this point in the history