Skip to content

Commit 1827d17

Browse files
committed
Minor docstring tweaks.
1 parent 01ed9d6 commit 1827d17

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/client/opsviewclient.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ impl OpsviewClient {
481481
///
482482
/// # Arguments
483483
/// * `obj` - A reference to an object which implements the `Persistent` trait.
484-
/// The object must have at least one of the following identifiers set: ref_, id, or name.
484+
/// The object must have at least one of the following identifiers set: ref_, id, or name.
485485
///
486486
/// # Returns
487487
/// A `Result` wrapping a `serde_json::Value` containing the response from the Opsview API,

src/config/host.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ pub struct Host {
140140
/// * d - Down
141141
/// * r - Recovery
142142
/// * f - Flapping
143-
/// Default: Some("u,d,r".to_string())
143+
/// Default: Some("u,d,r".to_string())
144144
#[serde(skip_serializing_if = "Option::is_none")]
145145
pub notification_options: Option<String>,
146146

@@ -1383,11 +1383,11 @@ impl HostBuilder {
13831383
///
13841384
/// # Arguments
13851385
/// * `notification_options` - Notification options for the `Host`.
1386-
/// Valid options are:
1387-
/// * `d` - send notifications on DOWN state
1388-
/// * `u` - send notifications on UNREACHABLE state
1389-
/// * `r` - send notifications on recovery (UP state)
1390-
/// * `f` - send notifications when the host starts and stops flapping
1386+
/// Valid options are:
1387+
/// * `d` - send notifications on DOWN state
1388+
/// * `u` - send notifications on UNREACHABLE state
1389+
/// * `r` - send notifications on recovery (UP state)
1390+
/// * `f` - send notifications when the host starts and stops flapping
13911391
///
13921392
/// Multiple options can be specified, separated by commas.
13931393
///

0 commit comments

Comments
 (0)