summaryrefslogtreecommitdiffstats
path: root/style/src/rule.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2023-09-19 13:26:52 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-19 13:26:52 +0200
commit2ee2c658944b20a045a4b81209664930623300c9 (patch)
tree07488b306ce8daa661517713176f631832b42ad4 /style/src/rule.rs
parent582da10ae2465a7a65ea062347b8f14fba8e6064 (diff)
parentc6554d990770b941b5003d6ef40af3f9dedcd052 (diff)
downloadiced-2ee2c658944b20a045a4b81209664930623300c9.tar.gz
iced-2ee2c658944b20a045a4b81209664930623300c9.tar.bz2
iced-2ee2c658944b20a045a4b81209664930623300c9.zip
Merge pull request #2091 from nyurik/docs
Chore: Apply clippy docs keyword quoting
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),