mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 14:51:15 +00:00
Janitor: Fix clippy::redundant_static_lifetimes
This commit is contained in:
parent
353582779d
commit
fd745550b3
3 changed files with 5 additions and 5 deletions
|
@ -112,8 +112,8 @@ fn process_rust_file(source: String, mut file: impl Write) -> std::io::Result<()
|
|||
/// FIXME! this is duplicated with the updater
|
||||
fn process_markdown_file(source: String, mut file: impl Write) -> std::io::Result<()> {
|
||||
let mut source_slice = &source[..];
|
||||
const CODE_FENCE_START: &'static str = "```60\n";
|
||||
const CODE_FENCE_END: &'static str = "```\n";
|
||||
const CODE_FENCE_START: &str = "```60\n";
|
||||
const CODE_FENCE_END: &str = "```\n";
|
||||
'l: while let Some(code_start) =
|
||||
source_slice.find(CODE_FENCE_START).map(|idx| idx + CODE_FENCE_START.len())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue