cargo-mutants 23.9.1 #150
sourcefrog
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Lots more mutation patterns!
Mutate the known collection types
BinaryHeap
,BTreeSet
,HashSet
,LinkedList
, andVecDeque
to generate empty and one-element collections usingT::new()
andT::from_iter(..)
.Mutate known container types like
Arc
,Box
,Cell
,Mutex
,Rc
,RefCell
intoT::new(a)
.Mutate unknown types that look like containers or collections
T<A>
orT<'a, A>'
and try to construct them from anA
withT::from_iter
,T::new
, andT::from
.Minimum Rust version updated to 1.70.
Mutate
Cow<'_, T>
intoOwned
andBorrowed
variants.Mutate functions returning
&[T]
and&mut [T]
to return leaked vecs of values.Mutate
(A, B, C, ...)
into the product of all replacements fora, b, c, ...
The combination of options
--list --diff --json
is now supported, and emits adiff
key in the JSON.Mutate
-> impl Iterator<Item = A>
to produce empty and one-element iterators of the item type.This discussion was created from the release cargo-mutants 23.9.1.
Beta Was this translation helpful? Give feedback.
All reactions