Skip to content

Commit bd74aa3

Browse files
authored
Merge pull request #14 from c-git/develop
0.6.1
2 parents f3fd497 + a7c5f27 commit bd74aa3

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "reqwest-cross"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
authors = ["One <[email protected]>"]
55
categories = ["web-programming::http-client", "wasm"]
66
documentation = "https://docs.rs/reqwest-cross"

src/data_state_retry.rs

+5
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ impl<T, E: ErrorBounds> DataStateRetry<T, E> {
118118
if ui.button("Stop Trying").clicked() {
119119
self.attempts_left = 0;
120120
}
121+
let can_make_progress = self.start_or_poll(fetch_fn);
122+
debug_assert!(
123+
can_make_progress.is_able_to_make_progress(),
124+
"This should be able to make progress"
125+
);
121126
}
122127
CanMakeProgress::AbleToMakeProgress
123128
}

0 commit comments

Comments
 (0)