fix in "URL is not a hyperlinke" in cargo doc
``` warning: this URL is not a hyperlink --> /home/wez/wez-personal/instant-xml/instant-xml/src/de.rs:499:32 | 499 | /// Valid character ranges per https://www.w3.org/TR/xml/#NT-Char | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.w3.org/TR/xml/#NT-Char>` | = note: bare URLs are not automatically turned into clickable links = note: `#[warn(rustdoc::bare_urls)]` on by default ```
This commit is contained in:
parent
5c0171b474
commit
2156e100ee
|
@ -496,7 +496,7 @@ enum DecodeState {
|
||||||
Entity([u8; 6], usize),
|
Entity([u8; 6], usize),
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Valid character ranges per https://www.w3.org/TR/xml/#NT-Char
|
/// Valid character ranges per <https://www.w3.org/TR/xml/#NT-Char>
|
||||||
fn valid_xml_character(c: &char) -> bool {
|
fn valid_xml_character(c: &char) -> bool {
|
||||||
matches!(c, '\u{9}' | '\u{A}' | '\u{D}' | '\u{20}'..='\u{D7FF}' | '\u{E000}'..='\u{FFFD}' | '\u{10000}'..='\u{10FFFF}')
|
matches!(c, '\u{9}' | '\u{A}' | '\u{D}' | '\u{20}'..='\u{D7FF}' | '\u{E000}'..='\u{FFFD}' | '\u{10000}'..='\u{10FFFF}')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue