Skip to content

Commit f746c36

Browse files
author
Peter Glotfelty
committed
Update changelog + version
1 parent 175b4a3 commit f746c36

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.26.1
4+
5+
* [#325](https://github.com/Peternator7/strum/pull/325): use `core` instead of `std` in VariantArray.
6+
37
## 0.26.0
48

59
### Breaking Changes

strum/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "strum"
3-
version = "0.26.0"
3+
version = "0.26.1"
44
edition = "2018"
55
authors = ["Peter Glotfelty <[email protected]>"]
66
license = "MIT"

strum/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ pub trait VariantNames {
223223
/// enums with inner data in one or more variants. Consider using it alongside
224224
/// [`EnumDiscriminants`] if you require inner data but still want to have an
225225
/// static array of variants.
226-
pub trait VariantArray: core::marker::Sized + 'static {
226+
pub trait VariantArray: ::core::marker::Sized + 'static {
227227
const VARIANTS: &'static [Self];
228228
}
229229

strum_macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "strum_macros"
3-
version = "0.26.0"
3+
version = "0.26.1"
44
edition = "2018"
55
authors = ["Peter Glotfelty <[email protected]>"]
66
license = "MIT"
@@ -26,4 +26,4 @@ rustversion = "1.0"
2626
syn = { version = "2.0", features = ["parsing", "extra-traits"] }
2727

2828
[dev-dependencies]
29-
strum = { path = "../strum", version= "0.25" }
29+
strum = { path = "../strum", version= "0.26" }

0 commit comments

Comments
 (0)