We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e44e371 commit f63c631Copy full SHA for f63c631
src/async_impl/request.rs
@@ -459,6 +459,19 @@ impl RequestBuilder {
459
self
460
}
461
462
+ // This was a shell only meant to help with rendered documentation.
463
+ // However, docs.rs can now show the docs for the wasm platforms, so this
464
+ // is no longer needed.
465
+ //
466
+ // You should not otherwise depend on this function. It's deprecation
467
+ // is just to nudge people to reduce breakage. It may be removed in a
468
+ // future patch version.
469
+ #[doc(hidden)]
470
+ #[cfg_attr(target_arch = "wasm32", deprecated)]
471
+ pub fn fetch_mode_no_cors(self) -> RequestBuilder {
472
+ self
473
+ }
474
+
475
/// Build a `Request`, which can be inspected, modified and executed with
476
/// `Client::execute()`.
477
pub fn build(self) -> crate::Result<Request> {
0 commit comments