aboutsummaryrefslogtreecommitdiff
path: root/src/render.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2021-10-07 23:25:22 +0200
committerDaniel Schadt <kingdread@gmx.de>2021-10-07 23:25:22 +0200
commitab5fdad67ff9d8ba3f71eccb278a5945a4d87896 (patch)
tree3632ed502dfb02b8ae7508504e4291d197c9ba8e /src/render.rs
parent8510ed3e43ff0a92565815b02645cc7bf5cb6b18 (diff)
downloadkondou-ab5fdad67ff9d8ba3f71eccb278a5945a4d87896.tar.gz
kondou-ab5fdad67ff9d8ba3f71eccb278a5945a4d87896.tar.bz2
kondou-ab5fdad67ff9d8ba3f71eccb278a5945a4d87896.zip
cargo fmt the code
Diffstat (limited to 'src/render.rs')
-rw-r--r--src/render.rs2
1 files changed, 1 insertions, 1 deletions
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 {