summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerris Tseng <ferris@navapbc.com>2019-12-25 16:25:48 -0500
committerFerris Tseng <ferris@navapbc.com>2019-12-25 16:25:48 -0500
commit17d7545048c7c2eeb42a5a2d3ced57e64afe1918 (patch)
tree5fa7f411740213a1f04aceac68fa50b24c263868
parentad1936065efea19616852d099eb8bd2f1eba386a (diff)
add return statement
-rw-r--r--ipfs-api/examples/bootstrap_default.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipfs-api/examples/bootstrap_default.rs b/ipfs-api/examples/bootstrap_default.rs
index adf2876..9377c49 100644
--- a/ipfs-api/examples/bootstrap_default.rs
+++ b/ipfs-api/examples/bootstrap_default.rs
@@ -42,6 +42,7 @@ async fn main() {
}
Err(e) => {
eprintln!("error dropping bootstrap peers: {}", e);
+ return;
}
}