mirror of
https://github.com/elicpeter/nyx.git
synced 2026-07-03 20:41:00 +02:00
cargo fmt
This commit is contained in:
parent
bec7bbf96c
commit
3a35cd6c8f
294 changed files with 6809 additions and 3911 deletions
|
|
@ -15,10 +15,7 @@ const ADAPTER_NAME: &str = "scheduled-sidekiq";
|
|||
|
||||
fn callee_is_sidekiq(name: &str) -> bool {
|
||||
let last = name.rsplit_once('.').map(|(_, s)| s).unwrap_or(name);
|
||||
matches!(
|
||||
last,
|
||||
"perform_async" | "perform_in" | "perform" | "set"
|
||||
)
|
||||
matches!(last, "perform_async" | "perform_in" | "perform" | "set")
|
||||
}
|
||||
|
||||
fn source_imports_sidekiq(file_bytes: &[u8]) -> bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue