note: remove unnecessary derive macros from NoteAction
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
1 parent
b9e2daf47a
commit
e6212e5d17
4 files changed
+8
-12
No files matched your search
@@ -16,7 +16,7 @@ pub struct DaveUi<'a> {
|
||||
|
||||
/// The response the app generates. The response contains an optional
|
||||
/// action to take.
|
||||
#[derive(Default, Clone, Debug)]
|
||||
#[derive(Default, Debug)]
|
||||
pub struct DaveResponse {
|
||||
pub action: Option<DaveAction>,
|
||||
}
|
||||
@@ -51,7 +51,7 @@ impl DaveResponse {
|
||||
/// The actions the app generates. No default action is specfied in the
|
||||
/// UI code. This is handled by the app logic, however it chooses to
|
||||
/// process this message.
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Debug)]
|
||||
pub enum DaveAction {
|
||||
/// The action generated when the user sends a message to dave
|
||||
Send,
|
||||
|
||||
Reference in new issue
Block a user