[librsvg: 9/17] href.rs: links to doc items by name




commit d644d084bc67f9792be7a15b0080f0634ab56152
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Jun 23 10:52:56 2021 -0500

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

 src/href.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/href.rs b/src/href.rs
index 606c7c68..2c830421 100644
--- a/src/href.rs
+++ b/src/href.rs
@@ -43,7 +43,7 @@ pub fn is_href(name: &ExpandedName<'_>) -> bool {
 
 /// Sets an `href` attribute in preference over an `xlink:href` one.
 ///
-/// See [`is_href`](#fn.is_href.html) for example usage.
+/// See [`is_href`] for example usage.
 pub fn set_href<T>(name: &ExpandedName<'_>, dest: &mut Option<T>, href: T) {
     if dest.is_none() || *name != expanded_name!(xlink "href") {
         *dest = Some(href);


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