From f4e6265d2e88435172d661243a2e037f3df47be0 Mon Sep 17 00:00:00 2001 From: PaddiM8 Date: Mon, 22 Feb 2021 21:21:43 +0100 Subject: [PATCH] kalk: Fixed type error in kalk_num/regular.rs --- Cargo.lock | 4 ++-- kalk/Cargo.toml | 2 +- kalk/src/kalk_num/regular.rs | 1 + kalk_cli/Cargo.toml | 4 ++-- kalk_web/package.json | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 59f5a1a..0fe2336 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -127,7 +127,7 @@ dependencies = [ [[package]] name = "kalk" -version = "1.4.2" +version = "1.4.3" dependencies = [ "lazy_static", "regex", @@ -139,7 +139,7 @@ dependencies = [ [[package]] name = "kalk_cli" -version = "0.3.13" +version = "0.3.14" dependencies = [ "ansi_term", "kalk", diff --git a/kalk/Cargo.toml b/kalk/Cargo.toml index 7c44329..c557a57 100644 --- a/kalk/Cargo.toml +++ b/kalk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kalk" -version = "1.4.2" +version = "1.4.3" authors = ["PaddiM8"] edition = "2018" readme = "README.md" diff --git a/kalk/src/kalk_num/regular.rs b/kalk/src/kalk_num/regular.rs index 924578e..824a85d 100644 --- a/kalk/src/kalk_num/regular.rs +++ b/kalk/src/kalk_num/regular.rs @@ -55,6 +55,7 @@ impl KalkNum { .to_string() .trim_end_matches('0') .trim_end_matches('.') + .to_string() } #[wasm_bindgen(js_name = toStringBig)] diff --git a/kalk_cli/Cargo.toml b/kalk_cli/Cargo.toml index 1998a49..8e48190 100644 --- a/kalk_cli/Cargo.toml +++ b/kalk_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kalk_cli" -version = "0.3.13" +version = "0.3.14" authors = ["PaddiM8"] edition = "2018" readme = "../README.md" @@ -16,7 +16,7 @@ path = "src/main.rs" name = "kalk" [dependencies] -kalk = { path = "../kalk", version = "^1.4.2" } +kalk = { path = "../kalk", version = "^1.4.3" } rustyline = "7.1.0" ansi_term = "0.12.1" regex = "1" diff --git a/kalk_web/package.json b/kalk_web/package.json index f54e9c9..26a7b2f 100644 --- a/kalk_web/package.json +++ b/kalk_web/package.json @@ -55,7 +55,7 @@ "webpack-dev-server": "^3.11.0" }, "dependencies": { - "@paddim8/kalk": "^1.4.2", + "@paddim8/kalk": "^1.4.3", "shadow-selection-polyfill": "^1.1.0" }, "browserslist": [