You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-28 11:02:02 +03:00
Enable the clippy::str_to_string lint
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(clippy::all, rustdoc::broken_intra_doc_links)]
|
||||
#![deny(clippy::all, clippy::str_to_string, rustdoc::broken_intra_doc_links)]
|
||||
#![warn(clippy::pedantic)]
|
||||
|
||||
use mas_iana::oauth::OAuthAuthorizationEndpointResponseType;
|
||||
|
@ -64,7 +64,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn serialize_webfinger_response_test() {
|
||||
let res = WebFingerResponse::new("acct:john@example.com".to_string())
|
||||
let res = WebFingerResponse::new("acct:john@example.com".to_owned())
|
||||
.with_issuer(Url::parse("https://account.example.com/").unwrap());
|
||||
|
||||
let res = serde_json::to_value(&res).unwrap();
|
||||
|
Reference in New Issue
Block a user