Use u8 to represent version segments (#7578)

This commit is contained in:
Charlie Marsh 2023-09-21 14:24:51 -04:00 committed by GitHub
parent 4d6f5ff0a7
commit 887455c498
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 18 deletions

View file

@ -1,6 +1,6 @@
//! This file is generated by `scripts/generate_known_standard_library.py`
pub fn is_known_standard_library(minor_version: u32, module: &str) -> bool {
pub fn is_known_standard_library(minor_version: u8, module: &str) -> bool {
matches!(
(minor_version, module),
(