We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec4015 commit 5671c45Copy full SHA for 5671c45
src/bee/worker.rs
@@ -133,7 +133,11 @@ mod tests {
133
type Output = u8;
134
type Error = ();
135
136
- fn apply_ref(&mut self, input: &Self::Input, _: &Context<Self::Input>) -> RefWorkerResult<Self> {
+ fn apply_ref(
137
+ &mut self,
138
+ input: &Self::Input,
139
+ _: &Context<Self::Input>,
140
+ ) -> RefWorkerResult<Self> {
141
match *input {
142
0 => Err(ApplyRefError::Retryable(())),
143
1 => Err(ApplyRefError::Fatal(())),
0 commit comments