aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/values/distance.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/values/distance.rs')
-rw-r--r--components/style/values/distance.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/values/distance.rs b/components/style/values/distance.rs
index a1872366c2a..67c735676b5 100644
--- a/components/style/values/distance.rs
+++ b/components/style/values/distance.rs
@@ -17,7 +17,7 @@ use std::ops::Add;
/// on each fields of the values.
///
/// If a variant is annotated with `#[animation(error)]`, the corresponding
-/// `match` arm is not generated.
+/// `match` arm returns an error.
///
/// If the two values are not similar, an error is returned unless a fallback
/// function has been specified through `#[distance(fallback)]`.