mirror of
https://github.com/astral-sh/ruff.git
synced 2026-12-03 19:54:34 +08: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