mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-29 07:41:20 +00:00
clippy
This commit is contained in:
parent
3f9e182110
commit
b9f22aba61
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ pub(crate) mod tests {
|
|||
|
||||
#[test]
|
||||
fn test_federate_retry_sleep_duration() {
|
||||
let s = |secs| Duration::from_secs(secs);
|
||||
let s = Duration::from_secs;
|
||||
assert_eq!(s(1), federate_retry_sleep_duration(0));
|
||||
assert_eq!(s(2), federate_retry_sleep_duration(1));
|
||||
assert_eq!(s(4), federate_retry_sleep_duration(2));
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# syntax=docker/dockerfile:1.6
|
||||
ARG RUST_VERSION=1.77
|
||||
ARG RUST_VERSION=1.76
|
||||
ARG CARGO_BUILD_FEATURES=default
|
||||
ARG RUST_RELEASE_MODE=debug
|
||||
|
||||
|
|
Loading…
Reference in a new issue