From a012d260db4ad9a234a2ef29e8c0f7f6ef5f6a4e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 9 Jul 2026 22:14:40 +0200 Subject: Minor style fixes from an upgraded clippy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xixanta') diff --git a/lib/xixanta/src/object.rs b/lib/xixanta/src/object.rs index b263469..6209afd 100644 --- a/lib/xixanta/src/object.rs +++ b/lib/xixanta/src/object.rs @@ -420,7 +420,7 @@ impl Context { let mut ax = String::with_capacity(name.len()); // Clear the context stack as we will set it manually. - self.stack.truncate(0); + self.stack.clear(); // If the given name turns out to be just the global one, skip the push // for the stack. -- cgit v1.2.3