Skip to content

Commit 74d6d15

Browse files
sgreenburypwochnerthobson88
committed
Fix warning
Co-authored-by: pwochner <pwochner@users.noreply.github.com> Co-authored-by: Tim Hobson <thobson@turing.ac.uk>
1 parent 7ea2bc0 commit 74d6d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/trustchain-core/src/graph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ mod tests {
136136
fn test_display() -> Result<(), GraphError> {
137137
let chains = vec![test_chain(), test_chain()];
138138
let graph = TrustchainGraph::new(&chains, DEFAULT_LABEL_WIDTH)?;
139-
format!("{}", graph);
139+
let _ = format!("{}", graph);
140140
Ok(())
141141
}
142142
}

0 commit comments

Comments
 (0)