#![no_main]

use libfuzzer_sys::fuzz_target;

fuzz_target!(|data: &[u8]| {
    if data == b"banana!" {
        panic!("success!");
    }
});

#![no_main]

use libfuzzer_sys::fuzz_target;

fuzz_target!(|data: &[u8]| {
    if data == "banana!".as_bytes() {
        panic!("success!");
    }
});

Change example to use `str::as_bytes` instead of array comparison
Change example to use `str::as_bytes` instead of array comparison

See #90.
