[librsvg: 12/17] paint_server.rs: links to doc items by name




commit dd8b2637b763e7bf7e090122f552ffcd4bb6a766
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Jun 23 10:53:11 2021 -0500

    paint_server.rs: links to doc items by name
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/552>

 src/paint_server.rs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/paint_server.rs b/src/paint_server.rs
index f58cf0b1..3fe8805a 100644
--- a/src/paint_server.rs
+++ b/src/paint_server.rs
@@ -21,8 +21,7 @@ use crate::util;
 /// `ComputedValues`), or a paint server like a gradient or pattern which is referenced by
 /// a URL that points to a certain document node.
 ///
-/// Use [`PaintServer.resolve`](#method.resolve) to turn this into a
-/// [`PaintSource`](enum.PaintSource.html).
+/// Use [`PaintServer.resolve`](#method.resolve) to turn this into a [`PaintSource`].
 #[derive(Debug, Clone, PartialEq)]
 pub enum PaintServer {
     /// For example, `fill="none"`.
@@ -41,7 +40,7 @@ pub enum PaintServer {
 /// Paint server with resolved references, with unnormalized lengths.
 ///
 /// Use [`PaintSource.to_user_space`](#method.to_user_space) to turn this into a
-/// [`UserSpacePaintSource`](enum.UserSpacePaintSource.html).
+/// [`UserSpacePaintSource`].
 pub enum PaintSource {
     None,
     Gradient(ResolvedGradient, Option<cssparser::RGBA>),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]