[librsvg: 16/17] viewbox.rs: links to doc items by name
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 16/17] viewbox.rs: links to doc items by name
- Date: Wed, 23 Jun 2021 19:26:04 +0000 (UTC)
commit 7bed6c552a6b851a6a92861e5f9abdd064891ac2
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Jun 23 10:54:00 2021 -0500
viewbox.rs: links to doc items by name
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/552>
src/viewbox.rs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/viewbox.rs b/src/viewbox.rs
index b9be4d8b..e391722d 100644
--- a/src/viewbox.rs
+++ b/src/viewbox.rs
@@ -12,10 +12,8 @@ use crate::rect::Rect;
/// A `ViewBox` is a new user-space coordinate system mapped onto the rectangle defined by
/// the current viewport. See https://www.w3.org/TR/SVG2/coords.html#ViewBoxAttribute
///
-/// `ViewBox` derefs to `Rect`, so you can use `Rect`'s methods and fields directly like
+/// `ViewBox` derefs to [`Rect`], so you can use [`Rect`]'s methods and fields directly like
/// `vbox.x0` or `vbox.width()`.
-///
-/// [`Rect`]: rect/type.Rect.html
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ViewBox(Rect);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]