chiark / gitweb /
coloured_string: Simplify a macro
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Feb 2024 14:09:14 +0000 (14:09 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 4 Feb 2024 14:28:05 +0000 (14:28 +0000)
commit5bf9a374fffec987d17f22de86c0169c1fa4e6a2
treefbc6a0cc960a02ec0bd8be40c83509cb636ad1fc
parentde46af38aed6c476652f9b2b96c29cd0100e8643
coloured_string: Simplify a macro

We can use a non-elided anonymous lifetime here, which makes the macro
a lot simpler.
src/coloured_string.rs