File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ fn vec_to_cs(v: &Vec<String>) -> CharSeq {
110110}
111111
112112impl 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) )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments