Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ normalize_name
Function
normalize_name
crates/ruff_python_parser/src/parser/mod.rs:908–910 ·
view source on GitHub ↗
(text: &str)
Source
from the content-addressed store, hash-verified
906
907
#[cold]
908
fn normalize_name(text: &str) -> Name {
909
text.nfkc().collect::<Name>()
910
}
911
912
#[derive(Copy, Clone)]
913
enum IpyEscapeContext {
Callers
1
bump_name
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected