Merge branch 'master' into asonix/update-ansi-parser

This commit is contained in:
Jane Lusby 2022-01-12 15:47:48 -08:00 committed by GitHub
commit a61d863761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ readme = "README.md"
[dependencies]
tracing-error = "0.2.0"
tracing-core = "0.1.21"
owo-colors = "1.2.0"
owo-colors = "3.2.0"
once_cell = "1.4.1"
[dev-dependencies]

View File

@ -4,6 +4,6 @@
at tests/themes.rs:42
40 │ use tracing_subscriber::{prelude::*, registry::Registry};
41 │
 42 > #[instrument]
 42 > #[instrument]
43 │ fn test_capture(x: u8) -> SpanTrace {
44 │ if x == 42 {
44 │ #[allow(clippy::if_same_then_else)]

View File

@ -40,8 +40,8 @@ use tracing_error::SpanTrace;
use tracing_subscriber::{prelude::*, registry::Registry};
#[instrument]
#[allow(clippy::clippy::if_same_then_else)]
fn test_capture(x: u8) -> SpanTrace {
#[allow(clippy::if_same_then_else)]
if x == 42 {
SpanTrace::capture()
} else {