chore: Fix warnings for Rust 1.89 (#32378)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
4ff41ba62e
commit
72bcb0beb7
32 changed files with 102 additions and 95 deletions
|
@ -231,7 +231,7 @@ impl Markdown {
|
|||
&self.parsed_markdown
|
||||
}
|
||||
|
||||
pub fn escape(s: &str) -> Cow<str> {
|
||||
pub fn escape(s: &str) -> Cow<'_, str> {
|
||||
// Valid to use bytes since multi-byte UTF-8 doesn't use ASCII chars.
|
||||
let count = s
|
||||
.bytes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue