diff --git a/src/sync_signal.rs b/src/sync_signal.rs index a288e4c..7a4e402 100644 --- a/src/sync_signal.rs +++ b/src/sync_signal.rs @@ -130,8 +130,8 @@ use std::rc::Rc; /// /// #### Different Types /// -/// `SyncSignalOptions::default()` is only defined if the two signal types are identical. -/// Otherwise, you have to initialize the options with `with_transforms` or `with_assigns` instead +/// `SyncSignalOptions::default()` is only defined if the two signal types are identical. +/// Otherwise, you have to initialize the options with `with_transforms` or `with_assigns` instead /// of `default`. /// /// ``` @@ -336,7 +336,7 @@ pub struct SyncSignalOptions { /// How to transform or assign the values to each other /// If `L` and `R` are identical this defaults to the simple `=` operator. If the types are - /// not the same, then you have to choose to either use [`SyncSignalOptions::with_transforms`] + /// not the same, then you have to choose to either use [`SyncSignalOptions::with_transforms`] /// or [`SyncSignalOptions::with_assigns`]. #[builder(skip)] transforms: SyncTransforms, diff --git a/src/use_clipboard.rs b/src/use_clipboard.rs index 2f2128d..bec5885 100644 --- a/src/use_clipboard.rs +++ b/src/use_clipboard.rs @@ -4,7 +4,7 @@ use leptos::ev::{copy, cut}; use leptos::*; /// Reactive [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API). -/// +/// /// Provides the ability to respond to clipboard commands (cut, copy, and paste) /// as well as to asynchronously read from and write to the system clipboard. /// Access to the contents of the clipboard is gated behind the diff --git a/src/use_device_orientation.rs b/src/use_device_orientation.rs index 82ba68f..2f6ce0b 100644 --- a/src/use_device_orientation.rs +++ b/src/use_device_orientation.rs @@ -2,7 +2,7 @@ use cfg_if::cfg_if; use leptos::*; /// Reactive [DeviceOrientationEvent](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent). -/// +/// /// Provide web developers with information from the physical orientation of /// the device running the web page. /// diff --git a/src/use_event_listener.rs b/src/use_event_listener.rs index 07dfa66..bd15a40 100644 --- a/src/use_event_listener.rs +++ b/src/use_event_listener.rs @@ -13,7 +13,7 @@ cfg_if! { if #[cfg(not(feature = "ssr"))] { }} /// Use EventListener with ease. -/// +/// /// Register using [addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener) on mounted, /// and [removeEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener) automatically on cleanup. /// diff --git a/src/use_geolocation.rs b/src/use_geolocation.rs index f1d9241..cbe68c4 100644 --- a/src/use_geolocation.rs +++ b/src/use_geolocation.rs @@ -3,7 +3,7 @@ use default_struct_builder::DefaultBuilder; use leptos::*; /// Reactive [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API). -/// +/// /// It allows the user to provide their location to web applications if they so desire. For privacy reasons, /// the user is asked for permission to report location information. /// diff --git a/src/use_user_media.rs b/src/use_user_media.rs index b9cdeb3..fd13130 100644 --- a/src/use_user_media.rs +++ b/src/use_user_media.rs @@ -151,7 +151,7 @@ async fn create_media(video: bool, audio: bool) -> Result for web_sys::NotificationOptions { } /// Options for [`UseWebNotificationReturn::show`]. -/// +/// /// This can be used to override options passed to [`use_web_notification`]. /// See [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/API/notification) for more info. ///