Skip to content

Commit 9464ee5

Browse files
committed
docs: 💡 removed old todos
1 parent 51284a8 commit 9464ee5

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/perseus/src/errors.rs

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pub enum ErrorCause {
1111
Server(Option<u16>),
1212
}
1313

14-
// TODO disclose what information may be revealed over the network through these errors in docs
1514
// The `error_chain` setup for the whole crate
1615
error_chain! {
1716
// The custom errors for this crate (very broad)

packages/perseus/src/shell.rs

-2
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,9 @@ pub fn app_shell(
124124
Err(err) => panic!("page data couldn't be serialized: '{}'", err)
125125
};
126126
},
127-
// TODO NotFound
128127
None => error_pages.render_page(&asset_url, &404, "page not found", &container),
129128
},
130129
Err(err) => match err.kind() {
131-
// TODO NotOk
132130
ErrorKind::AssetNotOk(url, status, err) => error_pages.render_page(url, status, err, &container),
133131
// No other errors should be returned
134132
_ => panic!("expected 'AssetNotOk' error, found other unacceptable error")

0 commit comments

Comments
 (0)