(s: &str)
| 1663 | const RECEIVER_CHAIN_MAX_LINKS: usize = 16; |
| 1664 | |
| 1665 | fn is_rust_ident(s: &str) -> bool { |
| 1666 | let mut chars = s.chars(); |
| 1667 | matches!(chars.next(), Some(c) if c.is_ascii_alphabetic() || c == '_') |
| 1668 | && chars.all(|c| c.is_ascii_alphanumeric() || c == '_') |
| 1669 | } |
| 1670 | |
| 1671 | /// A path value's text as normalizeSpecial accepts it: `/^[A-Za-z_][\w:#]*$/`. |
| 1672 | fn is_path_value_text(s: &str) -> bool { |
no test coverage detected