Remove unnecessary .unwrap()

main
Elnu 1 year ago
parent 70505f2078
commit 185c97e30e

@ -98,8 +98,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.body( .body(
serde_json::to_string(&NoteUpdate { serde_json::to_string(&NoteUpdate {
content: body_content, content: body_content,
}) })?,
.unwrap(),
) )
.send()?; .send()?;

Loading…
Cancel
Save