зеркало из https://github.com/microsoft/lain.git
Fix example in README (#4)
This commit is contained in:
Родитель
ac35dc8977
Коммит
e5d5030f21
|
@ -60,7 +60,7 @@ fn main() {
|
|||
instance.binary_serialize::<_, BigEndian>(&mut serialized_data);
|
||||
|
||||
println!("{:?}", instance);
|
||||
println!("{}", hexdump());
|
||||
println!("hex representation:\n{}", hexdump(&serialized_data));
|
||||
|
||||
// perform small mutations on the instance
|
||||
instance.mutate(&mut mutator, None);
|
||||
|
|
|
@ -60,7 +60,7 @@ fn main() {
|
|||
instance.binary_serialize::<_, BigEndian>(&mut serialized_data);
|
||||
|
||||
println!("{:?}", instance);
|
||||
println!("{}", hexdump());
|
||||
println!("hex representation:\n{}", hexdump(&serialized_data));
|
||||
|
||||
// perform small mutations on the instance
|
||||
instance.mutate(&mut mutator, None);
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
//! instance.binary_serialize::<_, BigEndian>(&mut serialized_data);
|
||||
//!
|
||||
//! println!("{:?}", instance);
|
||||
//! println!("{}", hexdump());
|
||||
//! println!("hex representation:\n{}", hexdump(&serialized_data));
|
||||
//!
|
||||
//! // perform small mutations on the instance
|
||||
//! instance.mutate(&mut mutator, None);
|
||||
|
|
Загрузка…
Ссылка в новой задаче