mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-09-27 04:50:50 +00:00
Update owo-colors
This commit is contained in:
parent
f7e61e648f
commit
37d4dce5c4
@ -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]
|
||||
|
@ -4,6 +4,6 @@
|
||||
at [35mtests/themes.rs[0m:[35m42[0m
|
||||
40 │ use tracing_subscriber::{prelude::*, registry::Registry};
|
||||
41 │
|
||||
[37m[1m 42 > #[instrument][0m
|
||||
[37;1m 42 > #[instrument][0m
|
||||
43 │ fn test_capture(x: u8) -> SpanTrace {
|
||||
44 │ if x == 42 {
|
||||
44 │ #[allow(clippy::if_same_then_else)]
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user