mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 07:34:06 -05:00
Use u8 to represent version segments (#7578)
This commit is contained in:
@@ -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),
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user