refactor/rust2021
main
Follow up of 183d548, which migrate old syntaxes to the new ones. See: https://doc.rust-lang.org/nightly/edition-guide/rust-2021/index.html