Skip to content

Commit 6c7ec89

Browse files
committed
Improved return-type documentation to reflect Reqnroll behaviour.
1 parent 03f57ae commit 6c7ec89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/automation/step-definitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void GivenStuffIsDone()
8888
* Can be either a static or an instance method. If it is an instance method, the containing class will be instantiated once for every scenario.
8989
* Cannot have `out` or `ref` parameters.
9090
* Cannot have optional parameters.
91-
* Should return `void` or `Task`. Note `async` methods must return `Task`
91+
* Should return `void`, `Task` or `ValueTask`. Note `async` methods must return `Task` or `ValueTask`.
9292

9393
(step-matching-styles-rules)=
9494
## Step Definition Styles

0 commit comments

Comments
 (0)