diff options
Diffstat (limited to 'vendor/anstyle/src/reset.rs')
-rw-r--r-- | vendor/anstyle/src/reset.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/anstyle/src/reset.rs b/vendor/anstyle/src/reset.rs index 5f5f2b461..c8c214093 100644 --- a/vendor/anstyle/src/reset.rs +++ b/vendor/anstyle/src/reset.rs @@ -5,11 +5,12 @@ pub struct Reset; impl Reset { /// Render the ANSI code #[inline] - pub fn render(self) -> impl core::fmt::Display { + pub fn render(self) -> impl core::fmt::Display + Copy + Clone { ResetDisplay } } +#[derive(Copy, Clone, Default, Debug)] struct ResetDisplay; impl core::fmt::Display for ResetDisplay { |