Remove useless .to_owned()
This commit is contained in:
parent
922a35eced
commit
63a012d338
@ -110,7 +110,7 @@ impl TryFromRaw for StartEventContent {
|
||||
Ok(StartEventContent::MSasV1(content))
|
||||
}
|
||||
raw::StartEventContent::__Nonexhaustive => {
|
||||
panic!("__Nonexhaustive enum variant is not intended for use.".to_owned());
|
||||
panic!("__Nonexhaustive enum variant is not intended for use.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user