Skip to content

Commit

Permalink
fix: fixing fmt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f authored and davidrusu committed Feb 9, 2023
1 parent ca691ab commit 9a84f33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/poly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,7 @@ impl BivarPoly {
/// Panics if the degree is too high for the coefficients to fit into a `Vec`.
pub fn random<R: Rng>(degree: usize, rng: &mut R) -> Self {
BivarPoly::try_random(degree, rng).unwrap_or_else(|e| {
panic!(
"Failed to create random `BivarPoly` of degree {degree}: {e}"
)
panic!("Failed to create random `BivarPoly` of degree {degree}: {e}")
})
}

Expand Down

0 comments on commit 9a84f33

Please sign in to comment.