Skip to content

Commit 8188902

Browse files
committed
fixed type in doc
1 parent 006af93 commit 8188902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pub fn initialize(_argc: *const isize, _argv: *const *const *const u8) -> isize
109109
/// use libfuzzer_sys::fuzz_target;
110110
///
111111
/// // Note: `|input|` is short for `|input: &[u8]|`.
112-
/// fuzz_target!(|input| {
112+
/// fuzz_target!(|input: &[u8]| {
113113
/// let _result: Result<_, _> = my_crate::parse(input);
114114
/// });
115115
/// # mod my_crate { pub fn parse(_: &[u8]) -> Result<(), ()> { unimplemented!() } }

0 commit comments

Comments
 (0)