Skip to content

Commit

Permalink
ci: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Mar 4, 2024
1 parent a216bed commit e96bc87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dsa/rpo_falcon512/math/codec.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use super::{FalconFelt, FastFft, Polynomial, MODULUS};
use super::{FalconFelt, FastFft, Polynomial, MODULUS, Vec};

Check failure on line 1 in src/dsa/rpo_falcon512/math/codec.rs

View workflow job for this annotation

GitHub Actions / clippy nightly on ubuntu

the item `Vec` is imported redundantly

Check warning on line 1 in src/dsa/rpo_falcon512/math/codec.rs

View workflow job for this annotation

GitHub Actions / test nightly on ubuntu with --features default,serde

the item `Vec` is imported redundantly
use crate::dsa::rpo_falcon512::{FalconError, B0, LOG_N, N, PK_LEN, SIG_LEN, SK_LEN};

Check warning on line 2 in src/dsa/rpo_falcon512/math/codec.rs

View workflow job for this annotation

GitHub Actions / test nightly on ubuntu with --no-default-features

unused import: `SIG_LEN`

Check warning on line 2 in src/dsa/rpo_falcon512/math/codec.rs

View workflow job for this annotation

GitHub Actions / test stable on ubuntu with --no-default-features

unused import: `SIG_LEN`
use num::Zero;

Expand Down
1 change: 1 addition & 0 deletions src/dsa/rpo_falcon512/math/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use num::{BigInt, FromPrimitive, One, Zero};
use num_complex::Complex64;
use rand::{rngs::StdRng, RngCore, SeedableRng};
use std::ops::MulAssign;

Check failure on line 5 in src/dsa/rpo_falcon512/math/mod.rs

View workflow job for this annotation

GitHub Actions / test nightly on ubuntu with --no-default-features

failed to resolve: use of undeclared crate or module `std`

Check failure on line 5 in src/dsa/rpo_falcon512/math/mod.rs

View workflow job for this annotation

GitHub Actions / test stable on ubuntu with --no-default-features

failed to resolve: use of undeclared crate or module `std`
use crate::utils::{collections::Vec, string::String};

Check failure on line 6 in src/dsa/rpo_falcon512/math/mod.rs

View workflow job for this annotation

GitHub Actions / clippy nightly on ubuntu

the item `String` is imported redundantly

Check warning on line 6 in src/dsa/rpo_falcon512/math/mod.rs

View workflow job for this annotation

GitHub Actions / test nightly on ubuntu with --features default,serde

the item `String` is imported redundantly

mod fft;
pub use fft::{CyclotomicFourier, FastFft};
Expand Down
3 changes: 1 addition & 2 deletions src/dsa/rpo_falcon512/math/polynomial.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use super::field::FalconFelt;
use super::Inverse;
use super::{field::FalconFelt, Inverse, Vec};

Check failure on line 1 in src/dsa/rpo_falcon512/math/polynomial.rs

View workflow job for this annotation

GitHub Actions / clippy nightly on ubuntu

the item `Vec` is imported redundantly

Check warning on line 1 in src/dsa/rpo_falcon512/math/polynomial.rs

View workflow job for this annotation

GitHub Actions / test nightly on ubuntu with --features default,serde

the item `Vec` is imported redundantly
use crate::dsa::rpo_falcon512::{MODULUS, N};
use crate::Felt;
use num::{One, Zero};
Expand Down

0 comments on commit e96bc87

Please sign in to comment.