Skip to content

Commit 31f162d

Browse files
sosthene-nitrokeynickray
authored andcommitted
Create 2 interchanges in tests
This avoids introducing bugs by removing intermediary consts. For example [Interchange::None; 1] compiles but not [Interchange::None; 2]
1 parent d7a4ff3 commit 31f162d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub enum Response {
5858
}
5959

6060
interchange::interchange! {
61-
ExampleInterchange: (Request, Response)
61+
ExampleInterchange: (Request, Response, 2)
6262
}
6363

6464
// fn main() {

0 commit comments

Comments
 (0)