Skip to content

Commit e8b06f7

Browse files
committed
Cleaned up webhook module
1 parent 653c367 commit e8b06f7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/webhooks.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ impl WebhookUpdate {
9292
Self::default()
9393
}
9494

95-
#[must_use]
96-
pub fn with_url_owned(mut self, url: impl Into<String>) -> Self {
97-
self.url = Some(url.into());
98-
self
99-
}
100-
10195
/// Updates the webhook target URL.
10296
pub fn with_url(&mut self, url: impl Into<String>) -> &mut Self {
10397
self.url = Some(url.into());

0 commit comments

Comments
 (0)