Skip to content

Commit 1c87ef2

Browse files
committed
feat(editor): pass some test-bopomofo test
1 parent be0b9cc commit 1c87ef2

20 files changed

+1142
-670
lines changed

Cargo.lock

+74
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

capi/chewing-internal/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ chewing-public = { version = "0.5.1-alpha.1", path = "../chewing-public" }
1111
ffi-opaque = "2.0.0"
1212
libc = "0.2.0"
1313
tracing = "0.1.37"
14+
tracing-subscriber = "0.3.18"
1415

1516
[lib]
1617
crate-type = ["rlib", "staticlib"]

capi/chewing-internal/src/ffi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub trait CopyToCString {
77
fn copy_to(&self, buf: &mut [c_char]);
88
}
99

10-
impl CopyToCString for Phrase<'_> {
10+
impl CopyToCString for Phrase {
1111
fn copy_to(&self, buf: &mut [c_char]) {
1212
let phrase_str = CString::new(self.as_str()).expect("Unable to convert to CString");
1313
let phrase_bytes = phrase_str.as_bytes_with_nul();

0 commit comments

Comments
 (0)