Skip to content

Commit 78026bd

Browse files
authored
remove unnecessary doctest from internal utility
1 parent c1f9deb commit 78026bd

File tree

1 file changed

+0
-9
lines changed
  • sdk/cosmos/azure_data_cosmos/src

1 file changed

+0
-9
lines changed

sdk/cosmos/azure_data_cosmos/src/utils.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44
use url::Url;
55

66
/// Appends new path segments to the target [`Url`].
7-
///
8-
/// # Examples
9-
/// ```rust
10-
/// use url::Url;
11-
///
12-
/// let mut url: Url = "https://example.com/foo".parse().unwrap();
13-
/// url.append_to_path(&["bar", "baz"]);
14-
/// assert_eq!("https://example.com/foo/bar/baz", url.to_string());
15-
/// ```
167
pub trait AppendPathSegments {
178
fn append_path_segments<'a>(&mut self, segments: impl IntoIterator<Item = &'a str>);
189
}

0 commit comments

Comments
 (0)