Skip to content

Commit 2721f93

Browse files
ascjonesnazar-pc
andauthored
Release v2.3.1 (#173)
* Bump versions * Update CHANGELOG * Clippy * Update CHANGELOG.md Co-authored-by: Nazar Mokrynskyi <[email protected]> Co-authored-by: Nazar Mokrynskyi <[email protected]>
1 parent 6d9cb83 commit 2721f93

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [2.3.0] - 2022-10.27
8+
## [2.3.1] - 2022-12-09
9+
10+
### Fixed
11+
- Change NonZero* TypeInfo implementation to not be recursive [(#171)](https://github.com/paritytech/scale-info/pull/171)
12+
13+
## [2.3.0] - 2022-10-27
914

1015
Implement the missing pieces for constructing `PortableRegistry` dynamically at runtime. This allows languages where static rust types are not available to use it.
1116

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "scale-info"
3-
version = "2.3.0"
3+
version = "2.3.1"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
rust-version = "1.60.0"
@@ -17,7 +17,7 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1717
[dependencies]
1818
bitvec = { version = "1", default-features = false, features = ["alloc"], optional = true }
1919
cfg-if = "1.0"
20-
scale-info-derive = { version = "2.3.0", path = "derive", default-features = false, optional = true }
20+
scale-info-derive = { version = "2.3.1", path = "derive", default-features = false, optional = true }
2121
serde = { version = "1", default-features = false, optional = true, features = ["derive", "alloc"] }
2222
derive_more = { version = "0.99.1", default-features = false, features = ["from"] }
2323
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }

derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "scale-info-derive"
3-
version = "2.3.0"
3+
version = "2.3.1"
44
authors = [
55
"Parity Technologies <[email protected]>",
66
"Centrality Developers <[email protected]>",

derive/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub fn variant_index(v: &Variant, i: usize) -> TokenStream {
3838
index.map(|i| quote! { #i }).unwrap_or_else(|| {
3939
v.discriminant
4040
.as_ref()
41-
.map(|&(_, ref expr)| quote! { #expr })
41+
.map(|(_, ref expr)| quote! { #expr })
4242
.unwrap_or_else(|| quote! { #i })
4343
})
4444
}

0 commit comments

Comments
 (0)