Skip to content

Commit 445d40b

Browse files
发布2.0
1 parent c41164b commit 445d40b

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ keywords = [
1212
]
1313
repository = "https://github.com/Natural-selection1/better-comprehension-in-rust"
1414
readme = "README.md"
15-
version = "1.3.2"
15+
version = "2.0.0"
1616
edition = "2024"
1717
exclude = [
1818
"src/main.rs",

README-CN.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
本库旨在成为所有推导式库的良好替代品, 对于你在crate.io中搜索"comprehension"时遇到的库, 我们已经做到了 :
66
* [comprehension](https://crates.io/crates/comprehension)
77
* 暂未支持let变量绑定
8+
* (在2.0.0版本中部分支持, 可以在返回前使用let变量绑定)
89
* 其余功能本库完全覆盖
910
* [kt-list-comprehensions](https://crates.io/crates/kt-list-comprehensions)
1011
* 所有功能本库完全覆盖

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ for the libraries you encounter when searching "comprehension" on crate.io,
99
we have already done:
1010
* [comprehension](https://crates.io/crates/comprehension)
1111
* Not supported let variable binding
12+
* (In the 2.0.0 version, it partially supports let variable binding,
13+
which can be used in the block return statement)
1214
* All other features are covered
1315
* [kt-list-comprehensions](https://crates.io/crates/kt-list-comprehensions)
1416
* All features are covered

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
//! we have already done:
1010
//! * [comprehension](https://crates.io/crates/comprehension)
1111
//! * Not supported let variable binding
12+
//! * (In the 2.0.0 version, it partially supports let variable binding,
13+
//! which can be used in the block return statement)
1214
//! * All other features are covered
1315
//! * [kt-list-comprehensions](https://crates.io/crates/kt-list-comprehensions)
1416
//! * All features are covered

0 commit comments

Comments
 (0)