Skip to content

Commit c646d9b

Browse files
fix: allowing missing punctuation for clippy warnings
1 parent b7e7d2c commit c646d9b

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

src/lib.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::doc_paragraphs_missing_punctuation)]
12
pub mod backtracking;
23
pub mod big_integer;
34
pub mod bit_manipulation;
@@ -19,22 +20,3 @@ pub mod searching;
1920
pub mod signal_analysis;
2021
pub mod sorting;
2122
pub mod string;
22-
23-
#[cfg(test)]
24-
mod tests {
25-
use super::sorting;
26-
#[test]
27-
fn quick_sort() {
28-
//descending
29-
let mut ve1 = vec![6, 5, 4, 3, 2, 1];
30-
sorting::quick_sort(&mut ve1);
31-
32-
assert!(sorting::is_sorted(&ve1));
33-
34-
//pre-sorted
35-
let mut ve2 = vec![1, 2, 3, 4, 5, 6];
36-
sorting::quick_sort(&mut ve2);
37-
38-
assert!(sorting::is_sorted(&ve2));
39-
}
40-
}

0 commit comments

Comments
 (0)