proxmox/proxmox-notify/src
Maximiliano Sandoval a87d52dad3 remove unneeded returns
Fixes the clippy warning:

warning: unneeded `return` statement
   --> proxmox-tfa/src/api/mod.rs:468:17
    |
468 | /                 return TfaResult::Failure {
469 | |                     needs_saving: true,
470 | |                     tfa_limit_reached,
471 | |                     totp_limit_reached,
472 | |                 };
    | |_________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
    = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
    |
468 ~                 TfaResult::Failure {
469 +                     needs_saving: true,
470 +                     tfa_limit_reached,
471 +                     totp_limit_reached,
472 ~                 }
    |

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-06-28 10:22:58 +02:00
..
api various clippy fixes 2024-06-06 11:40:49 +02:00
context remove unneeded returns 2024-06-28 10:22:58 +02:00
endpoints notify: endpoints: matcher: improve descriptions for API types 2024-04-23 23:06:56 +02:00
renderer notify: fix TemplateType::Subject doc comment 2024-04-24 08:05:16 +02:00
config.rs various clippy fixes 2024-06-06 11:40:49 +02:00
filter.rs notify: replace filters and groups with matcher-based system 2023-11-17 08:31:36 +01:00
group.rs notify: replace filters and groups with matcher-based system 2023-11-17 08:31:36 +01:00
lib.rs notify: add getter for notification timestamp 2024-04-23 23:06:56 +02:00
matcher.rs notify: endpoints: matcher: improve descriptions for API types 2024-04-23 23:06:56 +02:00
schema.rs notify: replace filters and groups with matcher-based system 2023-11-17 08:31:36 +01:00