summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-03-06 21:00:21 +0100
committerThomas Voss <mail@thomasvoss.com> 2026-03-06 21:00:21 +0100
commita0f8b2ae4d36bca8c4a3c11ebb45c682afa8c008 (patch)
tree53fd57c8f5c0872c9a1703fb0823f489e2a486e3
parent7da5cb749ee608a9455c2fd157273563279ee51c (diff)
Fix lifetime parameterHEADmaster
-rw-r--r--oryxc/src/arena.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/oryxc/src/arena.rs b/oryxc/src/arena.rs
index 2268c9b..44c5529 100644
--- a/oryxc/src/arena.rs
+++ b/oryxc/src/arena.rs
@@ -214,7 +214,7 @@ impl<'s, 'a> ScopedArena<'s, 'a> {
return self.inner.alloc(value);
}
- pub fn alloc_slice<T>(&self, len: usize) -> &'a mut [T] {
+ pub fn alloc_slice<T>(&self, len: usize) -> &'s mut [T] {
return self.inner.alloc_slice(len);
}
}