Skip to content

Commit

Permalink
Release 0.10.0
Browse files Browse the repository at this point in the history
Backwards incompatibility:
- the default upper bound for ranges changes from `Tuple::MAX` to
`Tuple::LEN`. This only affects callers that have relied on the default
bound being `MAX`, typically in an enum.
  • Loading branch information
jongiddy committed Apr 15, 2024
1 parent 070fac5 commit 2fa8e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typle"
version = "0.9.13"
version = "0.10.0"
edition = "2021"
description = "Generic tuple bounds and transformations"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ pub fn typle_for(item: proc_macro::TokenStream) -> proc_macro::TokenStream {
///
/// In an enum, the `typle_variant` macro allows the creation of variants for each component.
///
/// A variant is created for each index in the range provided. The default range is `0..Tuple::MAX`.
/// A variant is created for each index in the range provided.
///
/// The variants will start with the variant name given before the `=` character, followed by the
/// index.
Expand Down

0 comments on commit 2fa8e3b

Please sign in to comment.