Skip to content

Commit 6130f4a

Browse files
committed
update readme
1 parent f857398 commit 6130f4a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Rust the wrapped closures implement
3333
[`traits::FnOnce`](https://docs.rs/serde_closure/0.3/serde_closure/traits/trait.FnOnce.html),
3434
[`traits::FnMut`](https://docs.rs/serde_closure/0.3/serde_closure/traits/trait.FnMut.html)
3535
and [`traits::Fn`](https://docs.rs/serde_closure/0.3/serde_closure/traits/trait.Fn.html),
36-
and when the "nightly" feature is passed
36+
and on nightly Rust
3737
[`std::ops::FnOnce`](https://doc.rust-lang.org/std/ops/trait.FnOnce.html),
3838
[`std::ops::FnMut`](https://doc.rust-lang.org/std/ops/trait.FnMut.html) and
3939
[`std::ops::Fn`](https://doc.rust-lang.org/std/ops/trait.Fn.html) are

src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
//!
2727
//! This library aims to work in as simple and safe a way as possible. On stable
2828
//! Rust the wrapped closures implement [`traits::FnOnce`], [`traits::FnMut`]
29-
//! and [`traits::Fn`], and when the "nightly" feature is passed
30-
//! [`std::ops::FnOnce`], [`std::ops::FnMut`] and [`std::ops::Fn`] are
31-
//! implemented as well using the `unboxed_closures` and `fn_traits` features
32-
//! (rust issue [#29625](https://github.com/rust-lang/rust/issues/29625)).
29+
//! and [`traits::Fn`], and on nightly Rust [`std::ops::FnOnce`],
30+
//! [`std::ops::FnMut`] and [`std::ops::Fn`] are implemented as well using the
31+
//! `unboxed_closures` and `fn_traits` features (rust issue
32+
//! [#29625](https://github.com/rust-lang/rust/issues/29625)).
3333
//!
3434
//! * There are three macros, [`FnOnce`](macro@FnOnce), [`FnMut`](macro@FnMut)
3535
//! and [`Fn`](macro@Fn), corresponding to the three types of Rust closure.

0 commit comments

Comments
 (0)