Skip to content

Commit b0a3658

Browse files
committedOct 16, 2020
shorter
1 parent 9eb3823 commit b0a3658

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_target/src/abi

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_target/src/abi/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ impl FromStr for Endian {
271271

272272
impl ToJson for Endian {
273273
fn to_json(&self) -> Json {
274-
Json::String(self.as_str().to_owned())
274+
self.as_str().to_json()
275275
}
276276
}
277277

0 commit comments

Comments
 (0)