summaryrefslogtreecommitdiff
path: root/src/geom/ratio.rs
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng.ang@gmail.com>2023-03-22 16:02:51 +0800
committerGitHub <noreply@github.com>2023-03-22 09:02:51 +0100
commit25acefeb5b0cf0977ad01fe3128d494d9617a2cf (patch)
tree5f629b2aee909022be2be674a60d10fe59bc77c3 /src/geom/ratio.rs
parent26f4321a5e9eb56b905ca9eee9cf52422c7ff859 (diff)
Fix typos (#115)
Found via `codespell -S target -L crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant`
Diffstat (limited to 'src/geom/ratio.rs')
-rw-r--r--src/geom/ratio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geom/ratio.rs b/src/geom/ratio.rs
index 7be16ff8..5490bcba 100644
--- a/src/geom/ratio.rs
+++ b/src/geom/ratio.rs
@@ -18,7 +18,7 @@ impl Ratio {
Self(Scalar(1.0))
}
- /// Create a new ratio from a value, whre `1.0` means `100%`.
+ /// Create a new ratio from a value, where `1.0` means `100%`.
pub const fn new(ratio: f64) -> Self {
Self(Scalar(ratio))
}