mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-11-05 16:12:21 +00:00
refactor: remove some redundant error types (#4)
This commit is contained in:
parent
927f6077b4
commit
ae76a0cbe1
5 changed files with 35 additions and 39 deletions
|
|
@ -6,8 +6,6 @@ pub const YELLOW: &str = "\x1b[33m";
|
|||
pub const RED: &str = "\x1b[31m";
|
||||
pub const MAGENTA: &str = "\x1b[35m";
|
||||
|
||||
pub fn print_dots() -> Result<String, std::io::Error> {
|
||||
let colors = format!("{BLUE} {CYAN} {GREEN} {YELLOW} {RED} {MAGENTA} {RESET}");
|
||||
|
||||
Ok(colors)
|
||||
pub fn print_dots() -> String {
|
||||
format!("{BLUE} {CYAN} {GREEN} {YELLOW} {RED} {MAGENTA} {RESET}")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue