From 6fe04a742af9a0129eb7c94f39eabcca09cdb1fc Mon Sep 17 00:00:00 2001 From: Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com> Date: Sun, 27 Oct 2024 11:30:38 +0100 Subject: [PATCH] remove reference --- src/functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.rs b/src/functions.rs index c6c5a7b..50300b1 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -361,7 +361,7 @@ impl<'a> PostScriptOp<'a> { Self::Real(r) => buf.push_decimal(r), Self::Integer(i) => buf.push_val(i), Self::If(ops) => { - Self::write_slice(&ops, buf); + Self::write_slice(ops, buf); buf.push(b' '); buf.extend(self.operator()); }