aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-07-09 22:14:40 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-07-09 22:14:40 +0200
commita012d260db4ad9a234a2ef29e8c0f7f6ef5f6a4e (patch)
treefb631591b6ca6ab0c36611156c3e65e6149d47a4 /lib
parent6f58e4ab8d90166cac4e4da269a77c5134f12f1e (diff)
downloadtools.nes-a012d260db4ad9a234a2ef29e8c0f7f6ef5f6a4e.tar.gz
tools.nes-a012d260db4ad9a234a2ef29e8c0f7f6ef5f6a4e.zip
Minor style fixes from an upgraded clippy
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/xixanta/src/object.rs2
1 files changed, 1 insertions, 1 deletions
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.