-
-
Notifications
You must be signed in to change notification settings - Fork 27
Mutations
Martin Pool edited this page Mar 29, 2022
·
2 revisions
This doc is not yet complete.
Functions called new
, and implementations of Default
are skipped
because it seems like there is often no other good way to create an instance.
(See src/mutate.rs
and src/visit.rs
for the code that generates mutations.)
Function return type | Mutations |
---|---|
() |
() |
bool |
true , false
|
String |
String::new , "xyzzy".to_string()
|
Result<_, > |
Ok(Default::default()) |
(anything else) | Default::default() |