Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit e460110

Browse files
authored
Merge pull request #258 from AndyGauge/release-0.12.0
Release Candidate 0.12.1
2 parents 1e51f7a + b7d448c commit e460110

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Unreleased
22

3+
# 0.12.1
4+
5+
- [`std::error::Error::cause` deprecation update](https://github.com/rust-lang-nursery/error-chain/pull/255)
6+
- [Macro invocations use 2018 style](https://github.com/rust-lang-nursery/error-chain/pull/253)
7+
38
# 0.12.0
49

510
- [Remove `impl Deref<Kind> for Error`](https://github.com/rust-lang-nursery/error-chain/pull/192)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "error-chain"
3-
version = "0.12.0" # remember to update html_root_url
3+
version = "0.12.1-rc.1" # remember to update html_root_url
44
authors = [ "Brian Anderson <[email protected]>",
55
"Paul Colomiets <[email protected]>",
66
"Colin Kiegel <[email protected]>",

src/impl_error_chain_kind.rs

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
// From https://github.com/tailhook/quick-error
2-
// Changes:
3-
// - replace `impl Error` by `impl Item::description`
4-
// - $imeta
1+
/// From https://github.com/tailhook/quick-error
2+
/// Changes:
3+
/// - replace `impl Error` by `impl Item::description`
4+
/// - $imeta
55
6-
// Because of the `#[macro_export(local_inner_macros)]` usage on `impl_error_chain_kind` that macro
7-
// will only look inside this crate for macros to invoke. So using `stringify` or `write` from
8-
// the standard library will fail. Thus we here create simple wrappers for them that are not
9-
// exported as `local_inner_macros`, and thus they can in turn use the standard library macros.
6+
/// Because of the `#[macro_export(local_inner_macros)]` usage on `impl_error_chain_kind` that macro
7+
/// will only look inside this crate for macros to invoke. So using `stringify` or `write` from
8+
/// the standard library will fail. Thus we here create simple wrappers for them that are not
9+
/// exported as `local_inner_macros`, and thus they can in turn use the standard library macros.
1010
#[macro_export]
1111
macro_rules! stringify_internal {
1212
($($t:tt)*) => { stringify!($($t)*) }
1313
}
14+
15+
/// Macro used interally for output expanding an expression
1416
#[macro_export]
1517
macro_rules! write_internal {
1618
($dst:expr, $($arg:tt)*) => (write!($dst, $($arg)*))

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![deny(missing_docs)]
2-
#![doc(html_root_url = "https://docs.rs/error-chain/0.12.0")]
2+
#![doc(html_root_url = "https://docs.rs/error-chain/0.12.1-rc.1")]
33

44
//! A library for consistent and reliable error handling
55
//!

0 commit comments

Comments
 (0)