Fix for webassembly

This commit is contained in:
Andras Schmelczer 2024-12-06 20:47:06 +00:00
parent 701425ba02
commit 9b5c663740
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 32 additions and 22 deletions

View file

@ -63,7 +63,6 @@ impl StringBuilder<'_> {
self.buffer
}
#[cfg(debug_assertions)]
pub fn get_slice(&self, range: Range<usize>) -> String {
let result = self
.buffer