summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2023-08-19 10:42:12 -0400
committerHubert Figuière <hub@figuiere.net>2023-08-19 10:42:12 -0400
commit392eaf2ceed97e52141d9aa1cecabe4a8dd706e1 (patch)
treeecbb5a729347ed8c5a06dc89a33bce997a703205
parentf4d4842b735d3312a9e02510c27ab275f08534aa (diff)
doc: fix warning
-rw-r--r--src/bitmap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitmap.rs b/src/bitmap.rs
index 507cfb9..afd6bf5 100644
--- a/src/bitmap.rs
+++ b/src/bitmap.rs
@@ -132,7 +132,7 @@ impl Rect {
}
}
- /// Generate a Vec<u32> with the values in x, y, w, h order.
+ /// Generate a `Vec<u32>` with the values in x, y, w, h order.
pub fn to_vec(&self) -> Vec<u32> {
[self.x, self.y, self.width, self.height].to_vec()
}