summaryrefslogtreecommitdiffstats
path: root/style/src/rule.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-10-27 03:58:45 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-10-27 03:58:45 +0200
commit65823875791ecebf24d049cc0782e7475a37899b (patch)
tree1088c656ef7ad9782374952045022d2c104931b2 /style/src/rule.rs
parent8cc19de254c37d3123d5ea1b6513f1f34d35c7c8 (diff)
parentf1b1344d59fa7354615f560bd25ed01ad0c9f865 (diff)
downloadiced-65823875791ecebf24d049cc0782e7475a37899b.tar.gz
iced-65823875791ecebf24d049cc0782e7475a37899b.tar.bz2
iced-65823875791ecebf24d049cc0782e7475a37899b.zip
Merge branch 'master' into text-editor
Diffstat (limited to 'style/src/rule.rs')
-rw-r--r--style/src/rule.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/rule.rs b/style/src/rule.rs
index afae085c..efbe7444 100644
--- a/style/src/rule.rs
+++ b/style/src/rule.rs
@@ -47,7 +47,7 @@ impl FillMode {
///
/// # Returns
///
- /// * (starting_offset, length)
+ /// * (`starting_offset`, `length`)
pub fn fill(&self, space: f32) -> (f32, f32) {
match *self {
FillMode::Full => (0.0, space),