Skip to content

Commit 14fdbcc

Browse files
authored
rename EVENT_CALL_NONE to EVENT_NONE (#1234)
I messed up the name in my previous PR; this corrects it. Signed-off-by: Joel Dice <[email protected]>
1 parent 3df706c commit 14fdbcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/guest-rust/rt/src/async_support.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ static mut SPAWNED: Vec<BoxFuture> = Vec::new();
100100
/// The states of all currently-open streams and futures.
101101
static mut HANDLES: Lazy<HashMap<u32, Handle>> = Lazy::new(HashMap::new);
102102

103-
const EVENT_CALL_NONE: i32 = 0;
103+
const EVENT_NONE: i32 = 0;
104104
const _EVENT_CALL_STARTING: i32 = 1;
105105
const EVENT_CALL_STARTED: i32 = 2;
106106
const EVENT_CALL_RETURNED: i32 = 3;
@@ -378,7 +378,7 @@ unsafe fn callback_with_state(
378378
event2: i32,
379379
) -> i32 {
380380
match event0 {
381-
EVENT_CALL_NONE => {
381+
EVENT_NONE => {
382382
let done = poll(state).is_ready();
383383
callback_code(state, done)
384384
}

0 commit comments

Comments
 (0)