Skip to content

Commit bbd4fce

Browse files
author
GBathie
committed
Fix lints
1 parent 49a8359 commit bbd4fce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/ltl/trace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fn vec_to_cs(v: &Vec<String>) -> CharSeq {
110110
}
111111

112112
impl ParsedTrace {
113-
pub fn traces_vec_from_alphabet(&self, alphabet: &Vec<String>) -> Option<Trace> {
113+
pub fn traces_vec_from_alphabet(&self, alphabet: &[String]) -> Option<Trace> {
114114
let char_seqs: Option<Vec<CharSeq>> = alphabet
115115
.iter()
116116
.map(|s| self.alphabet.get(s).map(vec_to_cs))

src/ops/unary.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ mod test {
8787
use super::*;
8888

8989
#[test]
90-
fn string_try_into_binary_op() {
90+
fn string_try_into_unary_op() {
9191
let parsed = "X".try_into();
9292
assert_eq!(parsed, Ok(LtlUnaryOp::WeakNext));
93+
9394
let parsed = "X[!]".try_into();
9495
assert_eq!(parsed, Ok(LtlUnaryOp::StrongNext));
9596

0 commit comments

Comments
 (0)