diff options
-rw-r--r-- | :wq | 29 | ||||
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | vte_generate_state_changes/src/lib.rs | 2 |
3 files changed, 34 insertions, 1 deletions
@@ -0,0 +1,29 @@ +CHANGELOG +========= + +## Unreleased + +- Fix build failure on Rust 1.36.0 + +## 0.5.0 + +- Support for dynamically sized escape buffers without feature `no_std` +- Improved UTF8 parser performance +- Migrate to Rust 2018 + +## 0.4.0 + +- Fix handling of DCS escapes + +## 0.3.3 + +- Fix off-by-one error in CSI parsing when params list was at max length + (previously caused a panic). +- Support no_std + +## 0.2.0 + +- Removes `osc_start`, `osc_put`, and `osc_end` +- Adds `osc_dispatch` which simply receives a list of parameters +- Removes `byte: u8` parameter from `hook` and `unhook` because it's always + zero. diff --git a/CHANGELOG.md b/CHANGELOG.md index c96d04f..f076554 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ CHANGELOG ========= +## Unreleased + +- Fix build failure on Rust 1.36.0 + ## 0.5.0 - Support for dynamically sized escape buffers without feature `no_std` diff --git a/vte_generate_state_changes/src/lib.rs b/vte_generate_state_changes/src/lib.rs index 485a33e..5cfb3ac 100644 --- a/vte_generate_state_changes/src/lib.rs +++ b/vte_generate_state_changes/src/lib.rs @@ -137,7 +137,7 @@ fn optional_punct(iter: &mut Peekable<token_stream::IntoIter>, c: char) -> bool /// Panics if the punctuation does not match. fn expect_punct(iter: &mut impl Iterator<Item = TokenTree>, c: char) { match iter.next() { - Some(Punct(punct)) if punct.as_char() == c => (), + Some(Punct(ref punct)) if punct.as_char() == c => (), token => panic!("Expected punctuation '{}', but got {:?}", c, token), } } |