mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update member type
This commit is contained in:
parent
6a8f7548c8
commit
3f4efee60b
2 changed files with 3 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ fn handle(
|
|||
move |result| match result {
|
||||
Ok(text) => callback(Response::TextGemini {
|
||||
base: request.as_uri().clone(),
|
||||
source: text.as_gstring(),
|
||||
source: text.to_string(),
|
||||
is_source_request: matches!(request.feature(), Feature::Source), // @TODO return `Feature`?
|
||||
}),
|
||||
Err(e) => callback(Response::Failure(Failure::Mime {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ pub use redirect::Redirect;
|
|||
// Global dependencies
|
||||
use gtk::{
|
||||
gio::{Cancellable, IOStream},
|
||||
glib::{GString, Uri},
|
||||
glib::Uri,
|
||||
};
|
||||
|
||||
/// Single `Client` response API for all protocol drivers
|
||||
|
|
@ -26,7 +26,7 @@ pub enum Response {
|
|||
Failure(Failure),
|
||||
TextGemini {
|
||||
base: Uri,
|
||||
source: GString,
|
||||
source: String,
|
||||
is_source_request: bool,
|
||||
},
|
||||
Input(Input),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue