mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
enable manual_string_new lint
This commit is contained in:
parent
9606f59141
commit
645d88177a
4 changed files with 24 additions and 23 deletions
|
|
@ -435,7 +435,7 @@ impl Service {
|
|||
// The original create event must be in the auth events
|
||||
if !matches!(
|
||||
auth_events
|
||||
.get(&(StateEventType::RoomCreate, "".to_owned()))
|
||||
.get(&(StateEventType::RoomCreate, String::new()))
|
||||
.map(|a| a.as_ref()),
|
||||
Some(_) | None
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue