mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-03-31 09:05:32 +00:00
replace GString with String
This commit is contained in:
parent
7d6c049870
commit
2fd9327c88
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use glib::{GString, Regex, RegexCompileFlags, RegexMatchFlags};
|
||||
use glib::{Regex, RegexCompileFlags, RegexMatchFlags};
|
||||
|
||||
pub struct Inline {
|
||||
pub value: GString,
|
||||
pub value: String,
|
||||
}
|
||||
|
||||
impl Inline {
|
||||
|
|
@ -23,7 +23,7 @@ impl Inline {
|
|||
|
||||
// Result
|
||||
Some(Self {
|
||||
value: GString::from(value.as_str()),
|
||||
value: value.to_string(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue