proxmox/proxmox-access-control
Maximiliano Sandoval 229cc6ae02 acl: directly return struct rather than a binding
Fixes the following clippy warning:

warning: returning the result of a `let` binding from a block
   --> proxmox-access-control/src/acl.rs:687:13
    |
686 |             let config = TestAcmConfig { roles };
    |             ------------------------------------- unnecessary `let` binding
687 |             config
    |             ^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
    = note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
    |
686 ~
687 ~             TestAcmConfig { roles }
    |

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-06-28 10:22:58 +02:00
..
debian access-control: bump to 0.1.1-1 2024-06-20 13:56:31 +02:00
src acl: directly return struct rather than a binding 2024-06-28 10:22:58 +02:00
Cargo.toml access-control: bump to 0.1.1-1 2024-06-20 13:56:31 +02:00