There was an error while loading. Please reload this page.
1 parent 4d3df23 commit 7c7a957Copy full SHA for 7c7a957
2 files changed
.github/workflows/rust.yml
@@ -45,6 +45,10 @@ jobs:
45
with:
46
command: clippy
47
args: -- -D warnings
48
+ - uses: actions-rs/cargo@v1
49
+ with:
50
+ command: clippy
51
+ args: --tests -- -D warnings
52
fmt:
53
name: Rustfmt
54
runs-on: ubuntu-latest
src/rust_api.rs
@@ -788,7 +788,7 @@ mod tests {
788
fn test_as_ref() {
789
let sequence = dna("ac");
790
let nucleotides: &[NucleotideAmbiguous] = sequence.as_ref();
791
- assert!(nucleotides == &[NucleotideAmbiguous::A, NucleotideAmbiguous::C]);
+ assert!(nucleotides == [NucleotideAmbiguous::A, NucleotideAmbiguous::C]);
792
}
793
794
#[cfg(feature = "serde")]
0 commit comments