[fractal] docs: Fix warnings



commit 99959e4a4764b89e6d908e2b3bfb48c0f88b057c
Author: Kévin Commaille <zecakeh tedomum fr>
Date:   Fri May 6 16:51:46 2022 +0200

    docs: Fix warnings

 src/components/audio_player.rs | 3 ++-
 src/utils.rs                   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/components/audio_player.rs b/src/components/audio_player.rs
index d6ff4dde0..e68cb7d53 100644
--- a/src/components/audio_player.rs
+++ b/src/components/audio_player.rs
@@ -137,7 +137,8 @@ impl AudioPlayer {
 
     /// Set the file to play.
     ///
-    /// This is a convenience method that calls [`set_media_file()`].
+    /// This is a convenience method that calls
+    /// [`AudioPlayer::set_media_file()`].
     pub fn set_file(&self, file: Option<&gio::File>) {
         self.set_media_file(file.map(gtk::MediaFile::for_file));
     }
diff --git a/src/utils.rs b/src/utils.rs
index ab865e99a..7bc46aadb 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -280,7 +280,7 @@ impl PasswordValidity {
 /// A password should include a lower-case letter, an upper-case letter, a
 /// number and a symbol and be at a minimum 8 characters in length.
 ///
-/// See: https://spec.matrix.org/v1.1/client-server-api/#notes-on-password-management
+/// See: <https://spec.matrix.org/v1.1/client-server-api/#notes-on-password-management>
 pub fn validate_password(password: &str) -> PasswordValidity {
     let mut validity = PasswordValidity::new();
 


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