(&mut self, s: &'static str)
| 257 | } |
| 258 | |
| 259 | pub fn intern_static(&mut self, s: &'static str) -> InternedString<'gc> { |
| 260 | self.strings.intern_static(self.mc, s.as_bytes()) |
| 261 | } |
| 262 | |
| 263 | pub fn get_chunk(&mut self, chunk_id: ChunkId) -> Result<Gc<'gc, Function<'gc>>, VmError> { |
| 264 | self.chunks.get(&chunk_id).copied().ok_or_else(|| { |
no test coverage detected