mirror of
				https://git.proxmox.com/git/proxmox
				synced 2025-11-04 03:07:54 +00:00 
			
		
		
		
	
				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>
		
	
					 | 
			||
|---|---|---|
| .. | ||
| debian | ||
| src | ||
| Cargo.toml | ||