Skip to content

Commit f374720

Browse files
committed
Add dummy doc for nightly
1 parent 780d9dc commit f374720

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

poly-commit/src/lib.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ fn lc_query_set_to_poly_query_set<'a, F: Field, T: Clone + Ord>(
620620
poly_query_set
621621
}
622622

623+
/// Dummy doc
623624
#[cfg(test)]
624625
pub mod tests {
625626
use crate::*;
@@ -645,6 +646,7 @@ pub mod tests {
645646
sponge: fn() -> S,
646647
}
647648

649+
/// Dummy doc
648650
pub fn bad_degree_bound_test<F, P, PC, S>(
649651
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
650652
rand_point: fn(Option<usize>, &mut ChaCha20Rng) -> P::Point,
@@ -738,6 +740,7 @@ pub mod tests {
738740
Ok(())
739741
}
740742

743+
/// Dummy doc
741744
fn test_template<F, P, PC, S>(info: TestInfo<F, P, S>) -> Result<(), PC::Error>
742745
where
743746
F: PrimeField,
@@ -879,6 +882,7 @@ pub mod tests {
879882
Ok(())
880883
}
881884

885+
/// Dummy doc
882886
fn equation_test_template<F, P, PC, S>(info: TestInfo<F, P, S>) -> Result<(), PC::Error>
883887
where
884888
F: PrimeField,
@@ -1060,6 +1064,7 @@ pub mod tests {
10601064
Ok(())
10611065
}
10621066

1067+
/// Dummy doc
10631068
pub fn single_poly_test<F, P, PC, S>(
10641069
num_vars: Option<usize>,
10651070
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
@@ -1088,6 +1093,7 @@ pub mod tests {
10881093
test_template::<F, P, PC, S>(info)
10891094
}
10901095

1096+
/// Dummy doc
10911097
pub fn linear_poly_degree_bound_test<F, P, PC, S>(
10921098
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
10931099
rand_point: fn(Option<usize>, &mut ChaCha20Rng) -> P::Point,
@@ -1115,6 +1121,7 @@ pub mod tests {
11151121
test_template::<F, P, PC, S>(info)
11161122
}
11171123

1124+
/// Dummy doc
11181125
pub fn single_poly_degree_bound_test<F, P, PC, S>(
11191126
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
11201127
rand_point: fn(Option<usize>, &mut ChaCha20Rng) -> P::Point,
@@ -1142,6 +1149,7 @@ pub mod tests {
11421149
test_template::<F, P, PC, S>(info)
11431150
}
11441151

1152+
/// Dummy doc
11451153
pub fn quadratic_poly_degree_bound_multiple_queries_test<F, P, PC, S>(
11461154
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
11471155
rand_point: fn(Option<usize>, &mut ChaCha20Rng) -> P::Point,
@@ -1169,6 +1177,7 @@ pub mod tests {
11691177
test_template::<F, P, PC, S>(info)
11701178
}
11711179

1180+
/// Dummy doc
11721181
pub fn single_poly_degree_bound_multiple_queries_test<F, P, PC, S>(
11731182
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
11741183
rand_point: fn(Option<usize>, &mut ChaCha20Rng) -> P::Point,
@@ -1196,6 +1205,7 @@ pub mod tests {
11961205
test_template::<F, P, PC, S>(info)
11971206
}
11981207

1208+
/// Dummy doc
11991209
pub fn two_polys_degree_bound_single_query_test<F, P, PC, S>(
12001210
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
12011211
rand_point: fn(Option<usize>, &mut ChaCha20Rng) -> P::Point,
@@ -1223,6 +1233,7 @@ pub mod tests {
12231233
test_template::<F, P, PC, S>(info)
12241234
}
12251235

1236+
/// Dummy doc
12261237
pub fn full_end_to_end_test<F, P, PC, S>(
12271238
num_vars: Option<usize>,
12281239
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
@@ -1251,6 +1262,7 @@ pub mod tests {
12511262
test_template::<F, P, PC, S>(info)
12521263
}
12531264

1265+
/// Dummy doc
12541266
pub fn full_end_to_end_equation_test<F, P, PC, S>(
12551267
num_vars: Option<usize>,
12561268
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
@@ -1279,6 +1291,7 @@ pub mod tests {
12791291
equation_test_template::<F, P, PC, S>(info)
12801292
}
12811293

1294+
/// Dummy doc
12821295
pub fn single_equation_test<F, P, PC, S>(
12831296
num_vars: Option<usize>,
12841297
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
@@ -1307,6 +1320,7 @@ pub mod tests {
13071320
equation_test_template::<F, P, PC, S>(info)
13081321
}
13091322

1323+
/// Dummy doc
13101324
pub fn two_equation_test<F, P, PC, S>(
13111325
num_vars: Option<usize>,
13121326
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
@@ -1335,6 +1349,7 @@ pub mod tests {
13351349
equation_test_template::<F, P, PC, S>(info)
13361350
}
13371351

1352+
/// Dummy doc
13381353
pub fn two_equation_degree_bound_test<F, P, PC, S>(
13391354
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
13401355
rand_point: fn(Option<usize>, &mut ChaCha20Rng) -> P::Point,

poly-commit/src/streaming_kzg/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ pub use data_structures::*;
101101
pub use space::CommitterKeyStream;
102102
pub use time::CommitterKey;
103103

104+
/// Dummy docs
104105
#[cfg(test)]
105106
pub mod tests;
106107

0 commit comments

Comments
 (0)