Skip to content

Commit 4863a24

Browse files
committed
Update Response.messages rustdoc
1 parent 6c9cb1f commit 4863a24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/std/src/results/response.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ where
7373
T: Clone + fmt::Debug + PartialEq + JsonSchema,
7474
{
7575
/// Optional list of messages to pass. These will be executed in order.
76-
/// If the ReplyOn member is set, they will invoke this contract's `reply` entry point
76+
/// If the ReplyOn variant matches the result (Always, Success on Ok, Error on Err),
77+
/// the runtime will invoke this contract's `reply` entry point
7778
/// after execution. Otherwise, they act like "fire and forget".
7879
/// Use `call` or `msg.into()` to create messages with the older "fire and forget" semantics.
7980
pub messages: Vec<SubMsg<T>>,

0 commit comments

Comments
 (0)