Rename Action::Result to Action::Output

This commit is contained in:
Joscha 2023-03-31 02:40:35 +02:00
parent 2bf19e0ea2
commit 742bd158f1
4 changed files with 8 additions and 7 deletions

View file

@ -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)
}
}