mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-09 09:49:10 +02:00
Fix 1.97 clippy lints
This commit is contained in:
parent
f8a2003bc2
commit
28ed785001
2 changed files with 3 additions and 4 deletions
|
|
@ -96,7 +96,7 @@ where
|
|||
// This is safe as long as the parsed title is only the command,
|
||||
// and the iterator yields values in order of appearance.
|
||||
command = title;
|
||||
debug!("Detected command name: {}", &command);
|
||||
debug!("Detected command name: {command}");
|
||||
}
|
||||
LineType::Description(text) => {
|
||||
process_snippet(PageSnippet::Description(&base_indent))?;
|
||||
|
|
|
|||
|
|
@ -429,10 +429,9 @@ fn try_main(args: Cli, enable_styles: bool) -> Result<ExitCode> {
|
|||
print_warning(
|
||||
enable_styles,
|
||||
&format!(
|
||||
"Page `{}` not found in cache.\n\
|
||||
"Page `{command}` not found in cache.\n\
|
||||
Try updating with `tldr --update`, or submit a pull request to:\n\
|
||||
https://github.com/tldr-pages/tldr",
|
||||
&command
|
||||
https://github.com/tldr-pages/tldr"
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue