Fix for webassembly
This commit is contained in:
parent
701425ba02
commit
9b5c663740
3 changed files with 32 additions and 22 deletions
|
|
@ -63,7 +63,6 @@ impl StringBuilder<'_> {
|
|||
self.buffer
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
pub fn get_slice(&self, range: Range<usize>) -> String {
|
||||
let result = self
|
||||
.buffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue