Skip to content

Commit e4ee919

Browse files
committed
Change Nope variant to NoResults
The webpage looks the same but it makes _me_ feel better at least
1 parent a85c2cf commit e4ee919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,6 @@ pub fn source_browser_handler(req: &mut Request) -> IronResult<Response> {
248248
.set_bool("file_content_rust_source", is_rust_source)
249249
.to_resp("source")
250250
} else {
251-
Err(IronError::new(Nope::CrateNotFound, status::NotFound))
251+
Err(IronError::new(Nope::NoResults, status::NotFound))
252252
}
253253
}

0 commit comments

Comments
 (0)