Skip to content

Commit 5c95bb4

Browse files
author
jizhuozhi.george
committed
Add Promise support for http callout
remove Chinese comments Signed-off-by: jizhuozhi.george <[email protected]>
1 parent de19425 commit 5c95bb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/callout/promise.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ where
146146
let next_promise = Promise::new();
147147
let total = promises.len();
148148
let remaining = Rc::new(RefCell::new(total));
149-
let first_error = Rc::new(RefCell::new(None)); // 用来保存第一个错误
149+
let first_error = Rc::new(RefCell::new(None));
150150

151151
for promise in promises {
152152
let next_promise_clone = next_promise.clone();

0 commit comments

Comments
 (0)