Skip to content

Commit 79225d1

Browse files
committed
fix documentation of some constants
1 parent fd8c44c commit 79225d1

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

crates/environ/src/stack_switching.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ impl Default for StackSwitchingConfig {
3939
}
4040

4141
/// Discriminant of variant `Absent` in
42-
/// `wasmtime_runtime::continuation::VMStackChain`.
42+
/// `wasmtime::runtime::vm::stack_switching::VMStackChain`.
4343
pub const STACK_CHAIN_ABSENT_DISCRIMINANT: usize = 0;
4444
/// Discriminant of variant `InitialStack` in
45-
/// `wasmtime_runtime::continuation::VMStackChain`.
45+
/// `wasmtime::runtime::vm::stack_switching::VMStackChain`.
4646
pub const STACK_CHAIN_INITIAL_STACK_DISCRIMINANT: usize = 1;
4747
/// Discriminant of variant `Continiation` in
48-
/// `wasmtime_runtime::continuation::VMStackChain`.
48+
/// `wasmtime::runtime::vm::stack_switching::VMStackChain`.
4949
pub const STACK_CHAIN_CONTINUATION_DISCRIMINANT: usize = 2;
5050

5151
/// Encodes the life cycle of a `VMContRef`.
@@ -86,16 +86,16 @@ impl From<VMStackState> for i32 {
8686
}
8787

8888
/// Discriminant of variant `Return` in
89-
/// `ControlEffect`.
89+
/// `runtime::vm::stack_switching::ControlEffect`.
9090
pub const CONTROL_EFFECT_RETURN_DISCRIMINANT: u32 = 0;
9191
/// Discriminant of variant `Resume` in
92-
/// `ControlEffect`.
92+
/// `runtime::vm::stack_switching::ControlEffect`.
9393
pub const CONTROL_EFFECT_RESUME_DISCRIMINANT: u32 = 1;
9494
/// Discriminant of variant `Suspend` in
95-
/// `ControlEffect`.
95+
/// `runtime::vm::stack_switching::ControlEffect`.
9696
pub const CONTROL_EFFECT_SUSPEND_DISCRIMINANT: u32 = 2;
9797
/// Discriminant of variant `Switch` in
98-
/// `ControlEffect`.
98+
/// `runtime::vm::stack_switching::ControlEffect`.
9999
pub const CONTROL_EFFECT_SWITCH_DISCRIMINANT: u32 = 3;
100100

101101
/// Universal control effect. This structure encodes return signal, resume

0 commit comments

Comments
 (0)