Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
venkkatesh-sekar committed Oct 27, 2023
1 parent 9c2dac9 commit 6da45c0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rust/candid/src/parser/random.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,10 @@ impl<'a> GenState<'a> {
};
IDLValue::Variant(VariantValue(Box::new(field), idx as u64))
}
TypeInner::Func(_) => {
IDLValue::Func(crate::Principal::arbitrary(u)?, arbitrary_text(u, &self.config.text, &self.config.width)?)
}
TypeInner::Func(_) => IDLValue::Func(
crate::Principal::arbitrary(u)?,
arbitrary_text(u, &self.config.text, &self.config.width)?,
),
_ => unimplemented!(),
});
self.pop_state(old_config, ty, false);
Expand Down

0 comments on commit 6da45c0

Please sign in to comment.