web: the library checks for wasm32 (carried)
This commit is contained in:
1 parent
fe467d2bfe
commit
a03df0987c
44 files changed
+141
-104
No files matched your search
@@ -1,9 +1,7 @@
|
||||
use std::{
|
||||
ops::Range,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
use std::{ops::Range, time::Duration};
|
||||
|
||||
use unicode_segmentation::UnicodeSegmentation;
|
||||
use web_time::Instant;
|
||||
|
||||
pub(crate) fn prev_grapheme(text: &str, offset: usize) -> usize {
|
||||
text.grapheme_indices(true)
|
||||
|
||||
Reference in new issue
Block a user