diff --git a/CHANGELOG.md b/CHANGELOG.md index 8956f563..b98fe7cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to Rust's notion of ### Removed - `halo2::arithmetic::BatchInvert` (use `ff::BatchInvert` instead). +- `impl Default for halo2::poly::Rotation` (use `Rotation::cur()` instead). ## [0.1.0-beta.1] - 2021-09-24 Initial beta release! diff --git a/src/poly.rs b/src/poly.rs index 8c43ee6c..d38ac729 100644 --- a/src/poly.rs +++ b/src/poly.rs @@ -288,12 +288,6 @@ impl<'a, F: Field, B: Basis> Mul for Polynomial { #[derive(Copy, Clone, Debug, PartialEq)] pub struct Rotation(pub i32); -impl Default for Rotation { - fn default() -> Rotation { - Rotation(0) - } -} - impl Rotation { /// The current location in the evaluation domain pub fn cur() -> Rotation {