Rename Action::Result to Action::Output
This commit is contained in:
parent
2bf19e0ea2
commit
742bd158f1
4 changed files with 8 additions and 7 deletions
|
|
@ -52,7 +52,7 @@ impl SimpleVault {
|
|||
}
|
||||
|
||||
/// Execute an [`Action`] and return the result.
|
||||
pub fn execute<A: Action>(&mut self, action: A) -> Result<A::Result, A::Error> {
|
||||
pub fn execute<A: Action>(&mut self, action: A) -> Result<A::Output, A::Error> {
|
||||
action.run(&mut self.0)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue