Skip to content

Commit 3ac6aae

Browse files
committed
chore: Remove unnecessary to_string()
1 parent e2a07bb commit 3ac6aae

File tree

1 file changed

+1
-3
lines changed
  • stackslib/src/chainstate/stacks/boot

1 file changed

+1
-3
lines changed

stackslib/src/chainstate/stacks/boot/docs.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,7 @@ pub fn make_json_boot_contracts_reference() -> String {
160160
&contract_supporting_docs,
161161
ClarityVersion::Clarity1,
162162
);
163-
serde_json::to_string(&api_out)
164-
.expect("Failed to serialize documentation")
165-
.to_string()
163+
serde_json::to_string(&api_out).expect("Failed to serialize documentation")
166164
}
167165

168166
#[cfg(test)]

0 commit comments

Comments
 (0)