[Virtio-fs] [virtiofsd] MR opened: Replace deprecated MAX with the associated constant on each type
virtiofs-bot at sinrega.org
virtiofs-bot at sinrega.org
Fri Apr 22 12:25:42 UTC 2022
Replace the deprecated form of std::<type>::MAX with the associated MAX constant on each type <type>::MAX.
For instance:
```rust
// deprecated way
let max = std::usize::MAX;
// intended way
let max = usize::MAX;
```
See https://doc.rust-lang.org/core/usize/constant.MAX.html
---
https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/112
More information about the Virtio-fs
mailing list