Skip to content

Commit

Permalink
test: remove broken example in rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed May 8, 2024
1 parent 7da52b1 commit f0e0721
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions packages/configuration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@
//! [health_check_api]
//! bind_address = "127.0.0.1:1313"
//!```
pub mod v1;

use std::collections::HashMap;
use std::net::IpAddr;
use std::str::FromStr;
Expand Down Expand Up @@ -263,15 +265,6 @@ pub struct Info {
impl Info {
/// Build Configuration Info
///
/// # Examples
///
/// ```
/// use torrust_tracker_configuration::Info;
///
/// let result = Info::new(env_var_config, env_var_path_config, default_path_config, env_var_api_admin_token);
/// assert_eq!(result, );
/// ```
///
/// # Errors
///
/// Will return `Err` if unable to obtain a configuration.
Expand Down

0 comments on commit f0e0721

Please sign in to comment.