mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-28 15:33:50 +00:00
Use u8
to represent version segments (#7578)
This commit is contained in:
parent
4d6f5ff0a7
commit
887455c498
4 changed files with 13 additions and 18 deletions
|
@ -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),
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue