Update owo-colors

This commit is contained in:
Aode (lion) 2021-12-26 11:54:06 -06:00
parent f7e61e648f
commit 37d4dce5c4
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ readme = "README.md"
[dependencies]
tracing-error = "0.1.2"
tracing-core = "0.1.10"
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 {