proxmox/proxmox-notify/src/context
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
..
common.rs notify: add PVE/PBS context 2023-11-17 08:31:36 +01:00
mod.rs notify: switch to file-based templating system 2024-04-23 23:06:52 +02:00
pbs.rs remove unneeded returns 2024-06-28 10:22:58 +02:00
pve.rs remove unneeded returns 2024-06-28 10:22:58 +02:00
test.rs notify: switch to file-based templating system 2024-04-23 23:06:52 +02:00