mirror of
https://github.com/openharmony/third_party_rust_unicode-bidi.git
synced 2026-06-30 21:27:57 -04:00
[examples/flame_udhr] Fix compile error
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
Cargo.lock
|
||||
/data/
|
||||
/target/
|
||||
/*.html
|
||||
|
||||
@@ -29,7 +29,7 @@ use unicode_bidi::BidiInfo;
|
||||
|
||||
#[cfg(feature = "flame_it")]
|
||||
fn main() {
|
||||
const BIDI_TEXT: str = include_str!("../data/udhr/bidi/udhr_pes_1.txt");
|
||||
const BIDI_TEXT: &str = include_str!("../data/udhr/bidi/udhr_pes_1.txt");
|
||||
|
||||
flame::start("main(): BidiInfo::new()");
|
||||
let bidi_info = BidiInfo::new(BIDI_TEXT, None);
|
||||
|
||||
Reference in New Issue
Block a user