Skip to content

Commit

Permalink
damn deps
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Jan 2, 2025
1 parent b38d813 commit 439cf0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use thiserror::Error as ThisError;

#[cfg(feature = "pretty")]
#[cfg(feature = "colored")]
use colored::Colorize;

const RATE_LIMIT: &str = "we might be getting rate-limited here";
Expand Down Expand Up @@ -107,7 +107,7 @@ impl Error {
/// ```
/// the above example will result in:
/// [image](https://imgur.com/a/4SZeFXn)
#[cfg(feature = "pretty")]
#[cfg(feature = "colored")]
pub fn pretty(&self) {
let mut lines: Vec<String> = self
.to_string()
Expand Down

0 comments on commit 439cf0d

Please sign in to comment.