fixed a couple of warnings.
This commit is contained in:
+1
-3
@@ -28,7 +28,7 @@ pub struct AppState {
|
|||||||
pub curent_intput: String,
|
pub curent_intput: String,
|
||||||
pub module_loader: ModuleLoader,
|
pub module_loader: ModuleLoader,
|
||||||
pub output_scroll: u16,
|
pub output_scroll: u16,
|
||||||
pub prompt: Prompt,
|
prompt: Prompt,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl AppState {
|
impl AppState {
|
||||||
@@ -57,7 +57,6 @@ impl AppState {
|
|||||||
prompt: Prompt {
|
prompt: Prompt {
|
||||||
action: None,
|
action: None,
|
||||||
responses: Vec::new(),
|
responses: Vec::new(),
|
||||||
completed: false,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
main_rx,
|
main_rx,
|
||||||
@@ -930,5 +929,4 @@ impl DistroBox {
|
|||||||
struct Prompt {
|
struct Prompt {
|
||||||
action: Option<ToolMessage>,
|
action: Option<ToolMessage>,
|
||||||
responses: Vec<String>,
|
responses: Vec<String>,
|
||||||
completed: bool,
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user