diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index 8dd043be6ad..038a0d6c288 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -580,7 +580,7 @@ fn show_md_content_with_pager(content: &str, color: ColorConfig) { cmd.arg("-R"); true } else { - ["bat", "catbat", "delta"].iter().any(|v| *v == pager_name) + ["bat", "batcat", "delta"].iter().any(|v| *v == pager_name) }; if color == ColorConfig::Never {