]> git.proxmox.com Git - proxmox.git/commit
sys: crypt: style + drop unnecessary length check
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 28 Aug 2024 11:04:43 +0000 (13:04 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 28 Aug 2024 11:04:43 +0000 (13:04 +0200)
commit2da3121492a086fc0ec7a3306321b28d5173f52a
treeb1e4eb30555a730ad23a5e8c4fdb33cc28b5bd32
parent3129752da96c3839e6a1c2dfc6529f6aee6526f3
sys: crypt: style + drop unnecessary length check

These are statically sized arrays, not slices, they cannot be empty.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-sys/src/crypt.rs