We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c75267 commit 3753090Copy full SHA for 3753090
src/web/error.rs
@@ -39,9 +39,9 @@ pub enum AxumNope {
39
}
40
41
// FUTURE: Ideally, the split between the 3 kinds of responses would
42
-// be done by having 3 kinds of enums in the first place instead of
43
-// just `AxumNope`, to keep the line statically type-checked
44
-// throughout instead of having the conversion?
+// be done by having multiple nested enums in the first place instead
+// of just `AxumNope`, to keep everything statically type-checked
+// throughout instead of having the potential for a runtime error.
45
46
impl AxumNope {
47
fn into_error_response(self) -> ErrorResponse {
0 commit comments