refactor: remove redundant qualification of symbols in Rust (#15201)

This commit is contained in:
orvit 2022-07-14 16:52:44 -05:00 committed by GitHub
parent 1a7259b04b
commit dbf5e95b59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 28 additions and 33 deletions

View file

@ -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,
);
}