From 63a012d338ed22326c1c6236697657762c67fca7 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 23 Oct 2019 01:41:37 +0200 Subject: [PATCH] Remove useless `.to_owned()` --- src/key/verification/start.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/key/verification/start.rs b/src/key/verification/start.rs index 496ad21e..f9a17336 100644 --- a/src/key/verification/start.rs +++ b/src/key/verification/start.rs @@ -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."); } } }