From 3efbb1ddc8b85f85621db9b37a0980ec88d2386d Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 11 Jan 2019 00:41:59 +0000 Subject: Return Box in default_backend() This patch refactors the default_backend function to return a Box instead of impl Backend. This will allow us to dynamically choose the backend implementation in a future patch. To keep the current interface, we change show_with to accept both a reference to a backend instance as well as a reference to a boxed backend instance. This also means we have to implement AsRef for the backend structs. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index e2feb87..58a4919 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# Unreleased +- Refactor `default_backend()` to return a `Box`. + # v0.1.1 (2019-01-11) - Add the `Password` dialog box. - Add the `Zenity` backend. -- cgit v1.2.1