Skip to content

Commit 982e943

Browse files
authored
Merge pull request #280 from H1rono/handler-docs
📝 Update `Handler::on_*` docs
2 parents 98db505 + 5a95c8b commit 982e943

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/handler.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ macro_rules! all_handler_on_events {
215215
"- [`Clone`]を実装している\n",
216216
"- `Req`が次のうちいずれかと等しい\n",
217217
" - [`", stringify!([< $e:camel Payload >]), "`]\n",
218-
" - `(", stringify!([< $e:camel Payload >]), ",)`\n",
219218
" - `(State, ", stringify!([< $e:camel Payload >]), ")` ",
220219
"(`State`に関しては[`Handler::with_state`]を参照してください)\n",
221220
"- `Service2::Response`が`()`と等しい\n",
@@ -228,7 +227,7 @@ macro_rules! all_handler_on_events {
228227
"[Error]: std::error::Error\n",
229228
"[Send]: std::marker::Send\n",
230229
"[Sync]: std::marker::Sync\n",
231-
)}]
230+
) } ]
232231
pub $e;
233232
)* }
234233
};

0 commit comments

Comments
 (0)