(s: &str)
| 1694 | const RECEIVER_CHAIN_MAX_LINKS: usize = 16; |
| 1695 | |
| 1696 | fn is_rust_ident(s: &str) -> bool { |
| 1697 | let mut chars = s.chars(); |
| 1698 | matches!(chars.next(), Some(c) if c.is_ascii_alphabetic() || c == '_') |
| 1699 | && chars.all(|c| c.is_ascii_alphanumeric() || c == '_') |
| 1700 | } |
| 1701 | |
| 1702 | /// A path value's text as normalizeSpecial accepts it: `/^[A-Za-z_][\w:#]*$/`. |
| 1703 | fn is_path_value_text(s: &str) -> bool { |
no test coverage detected