diff options
Diffstat (limited to 'src/libfuzzer')
| -rw-r--r-- | src/libfuzzer/fuzzer.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfuzzer/fuzzer.rc b/src/libfuzzer/fuzzer.rc index 95aea33d31a..416fabb6d8f 100644 --- a/src/libfuzzer/fuzzer.rc +++ b/src/libfuzzer/fuzzer.rc @@ -57,7 +57,7 @@ pub fn write_file(filename: &Path, content: &str) { } pub fn contains(haystack: &str, needle: &str) -> bool { - str::contains(haystack, needle) + haystack.contains(needle) } pub fn find_rust_files(files: &mut ~[Path], path: &Path) { |
