MCPcopy Create free account
hub / github.com/csskit/csskit / strip_css_prefix

Function strip_css_prefix

crates/csskit_spec_generator/src/main.rs:33–35  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

31const PREVIEW_LINE_COUNT: usize = 30;
32
33fn strip_css_prefix(name: &str) -> &str {
34 name.strip_prefix("css-").unwrap_or(name)
35}
36
37/// Type alias for property descriptions map
38type PropertyDescriptions = HashMap<String, String>;

Callers 1

write_spec_moduleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected