aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
-rw-r--r--src/output.rs2
-rw-r--r--src/render.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 5b11a40..1d7376c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,8 +6,8 @@ mod render;
mod useropts;
use anyhow::{Context, Result};
-use thiserror::Error;
use clap::{App, Arg, ArgMatches};
+use thiserror::Error;
use api::{Api, Profession, Skill};
use bt::{BuildTemplate, ExtraData, Legend, TraitChoice, Traitline, CODE_REVENANT};
diff --git a/src/output.rs b/src/output.rs
index c00d4bb..8186a61 100644
--- a/src/output.rs
+++ b/src/output.rs
@@ -3,9 +3,9 @@ use super::{
api,
bt::{BuildTemplate, Traitline},
};
+use anyhow::Error;
use std::{io, io::Write};
use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor};
-use anyhow::Error;
const HEADER_COLOR: Color = Color::Cyan;
diff --git a/src/render.rs b/src/render.rs
index 484fd83..b971426 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -390,7 +390,7 @@ where
})
}
-fn clamp<T: PartialOrd>(value: T , lower: T, upper: T) -> T {
+fn clamp<T: PartialOrd>(value: T, lower: T, upper: T) -> T {
if value < lower {
lower
} else if value > upper {