Skip to content

Commit d5c7aec

Browse files
committed
doc: use _can_ to describe actions in quic.md
Per Microsoft style guide: > When ability is what you need to express, it's OK to use _can_ to > describe actions or tasks that the reader or program is able to do. > Use _might_ to express possibility. Don't use _may_, which might be > interpreted as providing permission. Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/c/can-may Refs: #34353 (comment) PR-URL: #34613 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
1 parent 319c275 commit d5c7aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/quic.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ server.listen();
13881388

13891389
The `'session'` event will be emitted multiple times.
13901390

1391-
The `'session'` event handler *may* be an async function.
1391+
The `'session'` event handler can be an async function.
13921392

13931393
If the `'session'` event handler throws an error, or if it returns a `Promise`
13941394
that is rejected, the error will be handled by destroying the `QuicServerSession`

0 commit comments

Comments
 (0)