Skip to content

Commit

Permalink
remove unnecessary doctest from internal utility
Browse files Browse the repository at this point in the history
  • Loading branch information
analogrelay authored Sep 25, 2024
1 parent ffcba0c commit 441201e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions sdk/cosmos/azure_data_cosmos/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
use url::Url;

/// Appends new path segments to the target [`Url`].
///
/// # Examples
/// ```rust
/// use url::Url;
///
/// let mut url: Url = "https://example.com/foo".parse().unwrap();
/// url.append_to_path(&["bar", "baz"]);
/// assert_eq!("https://example.com/foo/bar/baz", url.to_string());
/// ```
pub trait AppendPathSegments {
fn append_path_segments<'a>(&mut self, segments: impl IntoIterator<Item = &'a str>);
}
Expand Down

0 comments on commit 441201e

Please sign in to comment.