Skip to content

Commit

Permalink
Fix doc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-dinculescu committed Dec 22, 2024
1 parent 5b659bc commit 7bb5d23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tapo/src/api/api_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub struct ApiClient {
impl ApiClient {
/// Returns a new instance of [`ApiClient`].
/// It is cheaper to [`ApiClient::clone`] an existing instance than to create a new one when multiple devices need to be controller.
/// This is because [`ApiClient::clone`] reuses the underlying [`isahc::HttpClient`] and [`openssl::rsa::Rsa`] key.
/// This is because [`ApiClient::clone`] reuses the underlying [`reqwest::Client`].
///
/// # Arguments
///
Expand Down
4 changes: 2 additions & 2 deletions tapo/src/requests/play_alarm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub enum AlarmVolume {
/// Mute the audio output from the alarm.
/// This causes the alarm to be shown as triggered in the Tapo App
/// without an audible sound, and makes the `in_alarm` property
/// in [`crate::DeviceInfoHubResult`] return as `true`.
/// in [`crate::responses::DeviceInfoHubResult`] return as `true`.
Mute,
/// Lowest volume.
Low,
Expand Down Expand Up @@ -94,7 +94,7 @@ pub enum AlarmDuration {
/// This is useful for previewing the audio.
///
/// # Limitations
/// The `in_alarm` field of [`crate::DeviceInfoHubResult`] will not remain `true` for the
/// The `in_alarm` field of [`crate::responses::DeviceInfoHubResult`] will not remain `true` for the
/// duration of the audio track. Each audio track has a different runtime.
///
/// Has no observable affect if the [`AlarmVolume::Mute`].
Expand Down

0 comments on commit 7bb5d23

Please sign in to comment.