You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Enable the clippy::str_to_string lint
This commit is contained in:
@@ -89,8 +89,8 @@ pub trait EnumEntry: DeserializeOwned + Send + Sync {
|
||||
(
|
||||
key,
|
||||
EnumMember {
|
||||
value: item.name().to_string(),
|
||||
description: item.description().map(ToString::to_string),
|
||||
value: item.name().to_owned(),
|
||||
description: item.description().map(ToOwned::to_owned),
|
||||
enum_name: item.enum_name(),
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user