From 97e4ba558c5f34fb1f9f967fb8516a4c6bb36b81 Mon Sep 17 00:00:00 2001 From: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Date: Mon, 13 May 2024 12:05:56 +0200 Subject: [PATCH] Fix cargo doc warning (#242) Fix "this URL is not a hyperlink" warning Signed-off-by: Jonathan Schwender --- src/family_name.rs | 2 +- src/properties.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/family_name.rs b/src/family_name.rs index f4c6172..37b725a 100644 --- a/src/family_name.rs +++ b/src/family_name.rs @@ -13,7 +13,7 @@ /// A possible value for the `font-family` CSS property. /// /// These descriptions are taken from CSS Fonts Level 3 ยง 3.1: -/// https://drafts.csswg.org/css-fonts-3/#font-family-prop. +/// . /// /// TODO(pcwalton): `system-ui`, `emoji`, `math`, `fangsong` #[derive(Clone, Debug, PartialEq, Hash)] diff --git a/src/properties.rs b/src/properties.rs index fd379b7..ea60838 100644 --- a/src/properties.rs +++ b/src/properties.rs @@ -11,7 +11,7 @@ //! Properties that specify which font in a family to use: e.g. style, weight, and stretchiness. //! //! Much of the documentation in this modules comes from the CSS 3 Fonts specification: -//! https://drafts.csswg.org/css-fonts-3/ +//! use std::fmt::{self, Debug, Display, Formatter};