Skip to content

Commit

Permalink
v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
alecmocatta committed Jul 25, 2019
1 parent ac1629a commit a33d526
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde_closure"
version = "0.1.4"
version = "0.1.5"
license = "MIT OR Apache-2.0"
authors = ["Alec Mocatta <alec@mocatta.net>"]
categories = ["development-tools","encoding","rust-patterns","network-programming"]
Expand All @@ -12,7 +12,7 @@ This library provides macros to wrap closures such that they can serialized and
"""
repository = "https://github.com/alecmocatta/serde_closure"
homepage = "https://github.com/alecmocatta/serde_closure"
documentation = "https://docs.rs/serde_closure/0.1.4"
documentation = "https://docs.rs/serde_closure/0.1.5"
readme = "README.md"
edition = "2018"

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![MIT / Apache 2.0 licensed](https://img.shields.io/crates/l/serde_closure.svg?maxAge=2592000)](#License)
[![Build Status](https://dev.azure.com/alecmocatta/serde_closure/_apis/build/status/tests?branchName=master)](https://dev.azure.com/alecmocatta/serde_closure/_build/latest?branchName=master)

[Docs](https://docs.rs/serde_closure/0.1.4)
[Docs](https://docs.rs/serde_closure/0.1.5)

Serializable closures.

Expand All @@ -28,9 +28,9 @@ currently requires nightly Rust for the `unboxed_closures` and `fn_traits`
features (rust issue [#29625](https://github.com/rust-lang/rust/issues/29625)).

* There are three macros,
[FnOnce](https://docs.rs/serde_closure/0.1.4/serde_closure/macro.FnOnce.html),
[FnMut](https://docs.rs/serde_closure/0.1.4/serde_closure/macro.FnMut.html) and
[Fn](https://docs.rs/serde_closure/0.1.4/serde_closure/macro.Fn.html),
[FnOnce](https://docs.rs/serde_closure/0.1.5/serde_closure/macro.FnOnce.html),
[FnMut](https://docs.rs/serde_closure/0.1.5/serde_closure/macro.FnMut.html) and
[Fn](https://docs.rs/serde_closure/0.1.5/serde_closure/macro.Fn.html),
corresponding to the three types of Rust closure.
* The *captured variables*, i.e. those variables that are referenced by the
closure but are declared outside of it, must be explicitly listed.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
//! ```
//! means that `my_var` is a captured variable, but was not explicitly listed.

#![doc(html_root_url = "https://docs.rs/serde_closure/0.1.4")]
#![doc(html_root_url = "https://docs.rs/serde_closure/0.1.5")]
#![feature(unboxed_closures, fn_traits, core_intrinsics)]
#![warn(
missing_copy_implementations,
Expand Down

0 comments on commit a33d526

Please sign in to comment.