summaryrefslogtreecommitdiff
path: root/cli/fmt_errors.rs
diff options
context:
space:
mode:
authororvit <cdavis4short@gmail.com>2022-07-14 16:52:44 -0500
committerGitHub <noreply@github.com>2022-07-15 07:52:44 +1000
commitdbf5e95b59656b05f28218a27d128cae9fd68342 (patch)
treea5aa4d6cde6f39c2439036eb73243c46d2a6a63e /cli/fmt_errors.rs
parent1a7259b04b7229f6350a7a7c21b50497b5c80c17 (diff)
refactor: remove redundant qualification of symbols in Rust (#15201)
Diffstat (limited to 'cli/fmt_errors.rs')
-rw-r--r--cli/fmt_errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/fmt_errors.rs b/cli/fmt_errors.rs
index 759850cec..53cf975bc 100644
--- a/cli/fmt_errors.rs
+++ b/cli/fmt_errors.rs
@@ -127,7 +127,7 @@ fn format_maybe_source_line(
if column_number as usize > source_line.len() {
return format!(
"\n{} Couldn't format source line: Column {} is out of bounds (source may have changed at runtime)",
- crate::colors::yellow("Warning"), column_number,
+ yellow("Warning"), column_number,
);
}