Add a missing trait bound
@@ -23,7 +23,10 @@ pub struct LoginUrl {
}
impl LoginUrl {
- pub fn new<S>(url: S) -> Self {
+ pub fn new<S>(url: S) -> Self
+ where
+ S: Into<String>,
+ {
Self { url: url.into(), forward_text: None, bot_username: None, request_write_access: None }
}
