Skip to content

Commit c62e8cb

Browse files
authored
Change edition from 2021 to 2018 (#18)
* Change edition from 2021 to 2018 * Fix missing import due to edition 2021 prelude
1 parent 5bf1c88 commit c62e8cb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "reqwasm"
33
version = "0.3.1"
44
authors = ["Hamza <[email protected]>"]
5-
edition = "2021"
5+
edition = "2018"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/hamza1311/reqwasm"
88
description = "HTTP requests library for WASM Apps"

src/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub(crate) use conversion::*;
2323
#[cfg(any(feature = "http", feature = "websocket"))]
2424
mod conversion {
2525
use gloo_utils::errors::JsError;
26+
use std::convert::TryFrom;
2627
use wasm_bindgen::JsValue;
2728

2829
#[cfg(feature = "http")]

0 commit comments

Comments
 (0)