From f374720bd8d9036ca459e3569acec985933f676d Mon Sep 17 00:00:00 2001 From: Hossein Moghaddas Date: Mon, 21 Oct 2024 16:03:36 +0200 Subject: [PATCH] Add dummy doc for nightly --- poly-commit/src/lib.rs | 15 +++++++++++++++ poly-commit/src/streaming_kzg/mod.rs | 1 + 2 files changed, 16 insertions(+) diff --git a/poly-commit/src/lib.rs b/poly-commit/src/lib.rs index 131bcd2a..4da0bb1a 100644 --- a/poly-commit/src/lib.rs +++ b/poly-commit/src/lib.rs @@ -620,6 +620,7 @@ fn lc_query_set_to_poly_query_set<'a, F: Field, T: Clone + Ord>( poly_query_set } +/// Dummy doc #[cfg(test)] pub mod tests { use crate::*; @@ -645,6 +646,7 @@ pub mod tests { sponge: fn() -> S, } + /// Dummy doc pub fn bad_degree_bound_test( rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, rand_point: fn(Option, &mut ChaCha20Rng) -> P::Point, @@ -738,6 +740,7 @@ pub mod tests { Ok(()) } + /// Dummy doc fn test_template(info: TestInfo) -> Result<(), PC::Error> where F: PrimeField, @@ -879,6 +882,7 @@ pub mod tests { Ok(()) } + /// Dummy doc fn equation_test_template(info: TestInfo) -> Result<(), PC::Error> where F: PrimeField, @@ -1060,6 +1064,7 @@ pub mod tests { Ok(()) } + /// Dummy doc pub fn single_poly_test( num_vars: Option, rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, @@ -1088,6 +1093,7 @@ pub mod tests { test_template::(info) } + /// Dummy doc pub fn linear_poly_degree_bound_test( rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, rand_point: fn(Option, &mut ChaCha20Rng) -> P::Point, @@ -1115,6 +1121,7 @@ pub mod tests { test_template::(info) } + /// Dummy doc pub fn single_poly_degree_bound_test( rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, rand_point: fn(Option, &mut ChaCha20Rng) -> P::Point, @@ -1142,6 +1149,7 @@ pub mod tests { test_template::(info) } + /// Dummy doc pub fn quadratic_poly_degree_bound_multiple_queries_test( rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, rand_point: fn(Option, &mut ChaCha20Rng) -> P::Point, @@ -1169,6 +1177,7 @@ pub mod tests { test_template::(info) } + /// Dummy doc pub fn single_poly_degree_bound_multiple_queries_test( rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, rand_point: fn(Option, &mut ChaCha20Rng) -> P::Point, @@ -1196,6 +1205,7 @@ pub mod tests { test_template::(info) } + /// Dummy doc pub fn two_polys_degree_bound_single_query_test( rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, rand_point: fn(Option, &mut ChaCha20Rng) -> P::Point, @@ -1223,6 +1233,7 @@ pub mod tests { test_template::(info) } + /// Dummy doc pub fn full_end_to_end_test( num_vars: Option, rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, @@ -1251,6 +1262,7 @@ pub mod tests { test_template::(info) } + /// Dummy doc pub fn full_end_to_end_equation_test( num_vars: Option, rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, @@ -1279,6 +1291,7 @@ pub mod tests { equation_test_template::(info) } + /// Dummy doc pub fn single_equation_test( num_vars: Option, rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, @@ -1307,6 +1320,7 @@ pub mod tests { equation_test_template::(info) } + /// Dummy doc pub fn two_equation_test( num_vars: Option, rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, @@ -1335,6 +1349,7 @@ pub mod tests { equation_test_template::(info) } + /// Dummy doc pub fn two_equation_degree_bound_test( rand_poly: fn(usize, Option, &mut ChaCha20Rng) -> P, rand_point: fn(Option, &mut ChaCha20Rng) -> P::Point, diff --git a/poly-commit/src/streaming_kzg/mod.rs b/poly-commit/src/streaming_kzg/mod.rs index 5384bf0b..95ae6f7c 100644 --- a/poly-commit/src/streaming_kzg/mod.rs +++ b/poly-commit/src/streaming_kzg/mod.rs @@ -101,6 +101,7 @@ pub use data_structures::*; pub use space::CommitterKeyStream; pub use time::CommitterKey; +/// Dummy docs #[cfg(test)] pub mod tests;