From b7e5413c9a76bc9d0af7137db992397988d2261f Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Thu, 13 Jul 2023 00:53:34 +0800 Subject: [PATCH] Changelog --- CHANGELOG.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 853286b40..5f7f53ef9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## 0.29.1 - 2023-07-13 +## 0.29.1 - 2023-07-12 + `0.29.0-rc.1`: 2023-03-22 + `0.29.0`: Yanked @@ -61,6 +61,22 @@ let _: DynIden = Rc::new(Alias::new("char")); // replace with: let _: DynIden = SeaRc::new(Alias::new("char")); ``` +* Added new type `Quote` and changed the `Iden` trait: +```rust +struct Quote(pub(crate) u8, pub(crate) u8); + +trait Iden { + // then: + fn prepare(&self, s: &mut dyn fmt::Write, q: char); + // now: + fn prepare(&self, s: &mut dyn fmt::Write, q: Quote); + + // then: + fn quoted(&self, q: char) -> String; + // now: + fn quoted(&self, q: Quote) -> String; +} +``` ### House keeping