From 99bf310d422993604e9afd421b05c5fdccae4d6c Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 9 Sep 2020 00:39:41 -0700 Subject: still need an empty check --- src/view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/view.rs') diff --git a/src/view.rs b/src/view.rs index 41f8999..11eaccd 100644 --- a/src/view.rs +++ b/src/view.rs @@ -250,7 +250,7 @@ impl View for Page { let url = url.split('#').next().unwrap(); link = bk.links.get(url); if link.is_none() { - return + return; } } let &(chapter, byte) = link.unwrap(); -- cgit v1.2.3