diff options
| author | bors <bors@rust-lang.org> | 2024-06-27 16:19:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-27 16:19:59 +0000 |
| commit | 4ddc8a2e4e59c3f0b43e42e47d2dc0e81d0aab6b (patch) | |
| tree | b2a8332399ecc0ab959cb5cd089ad0367edc684b | |
| parent | aaaa9264dcd7d4054aa7c1b955ed1c8510924cae (diff) | |
| parent | 606ada193f4b5d0ec3b22cf62837af7b98069b13 (diff) | |
| download | rust-4ddc8a2e4e59c3f0b43e42e47d2dc0e81d0aab6b.tar.gz rust-4ddc8a2e4e59c3f0b43e42e47d2dc0e81d0aab6b.zip | |
Auto merge of #12992 - klensy:lintcheck-bump, r=Alexendoo
bump strip-ansi-escapes This bumps `strip-ansi-escapes` to remove arrayvec from it's deps (https://github.com/luser/strip-ansi-escapes/pull/8) Should Cargo.lock be commited too to track it's working state? changelog: none
| -rw-r--r-- | lintcheck/Cargo.toml | 2 | ||||
| -rw-r--r-- | lintcheck/src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lintcheck/Cargo.toml b/lintcheck/Cargo.toml index e0e94d7fec3..ae9e77b8eed 100644 --- a/lintcheck/Cargo.toml +++ b/lintcheck/Cargo.toml @@ -19,7 +19,7 @@ flate2 = "1.0" rayon = "1.5.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.85" -strip-ansi-escapes = "0.1.1" +strip-ansi-escapes = "0.2.0" tar = "0.4" toml = "0.7.3" ureq = { version = "2.2", features = ["json"] } diff --git a/lintcheck/src/main.rs b/lintcheck/src/main.rs index 8dd6e95bb7d..ec72e0eb5dc 100644 --- a/lintcheck/src/main.rs +++ b/lintcheck/src/main.rs @@ -161,7 +161,7 @@ impl ClippyWarning { // --recursive bypasses cargo so we have to strip the rendered output ourselves let rendered = diag.rendered.as_mut().unwrap(); - *rendered = String::from_utf8(strip_ansi_escapes::strip(&rendered).unwrap()).unwrap(); + *rendered = strip_ansi_escapes::strip_str(&rendered); Some(Self { crate_name: crate_name.to_owned(), |
