Skip to content

Commit

Permalink
replace GString with String
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Dec 2, 2024
1 parent 7d6c049 commit 2fd9327
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/line/code/inline.rs
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -23,7 +23,7 @@ impl Inline {

// Result
Some(Self {
value: GString::from(value.as_str()),
value: value.to_string(),
})
}
}

0 comments on commit 2fd9327

Please sign in to comment.