mirror of https://github.com/LemmyNet/lemmy.git
clippy
parent
3f9e182110
commit
b9f22aba61
|
@ -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 New Issue