1
Fork 0

Apply clippy suggestion

This commit is contained in:
Jan-Erik Rediger 2023-05-15 21:24:31 +02:00
parent c9484d562e
commit 8ec529e2bf

View file

@ -55,7 +55,7 @@ fn handle_supports(sub_args: &ArgMatches) -> ! {
let renderer = sub_args let renderer = sub_args
.get_one::<String>("renderer") .get_one::<String>("renderer")
.expect("Required argument"); .expect("Required argument");
let supported = Toc.supports_renderer(&renderer); let supported = Toc.supports_renderer(renderer);
// Signal whether the renderer is supported by exiting with 1 or 0. // Signal whether the renderer is supported by exiting with 1 or 0.
if supported { if supported {