Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayJack committed Sep 6, 2020
1 parent ddbf5ba commit 8ff0cff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changes

## Unreleased ~ master ~ 2.0-dev
## 2.0.0
- Change behaviour of the `cow!` macro
- Add `rwlock!` macro to create `RwLock` types
- Remove haskell-like and python-like comprehension syntax
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sugars"
version = "1.2.0"
version = "2.0.0"
authors = ["GrayJack <[email protected]>"]
readme = "README.md"
license-file = "LICENSE"
Expand Down
4 changes: 1 addition & 3 deletions src/comprehension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
/// * Only 3 nested comprehensions
///
/// # Examples:
/// ```rust,ignore
/// ```rust
/// # use std::collections::*;
/// use sugars::c;
/// # fn main() {
/// let w: Vec<_> = c![x; x in 1..10].collect();
/// let z: HashSet<_> = c!{x; x in 1..10, if x%2 == 0}.collect();
/// # }
/// ```
#[macro_export]
macro_rules! c {
Expand Down

0 comments on commit 8ff0cff

Please sign in to comment.