Skip to content

Commit 7b9eb47

Browse files
committed
Fix formatting
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
1 parent f684d71 commit 7b9eb47

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

fuzz/fuzz_targets/process.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ extern crate libfuzzer_sys;
88
extern crate unicode_normalization;
99

1010
use unicode_normalization::{
11-
char::{compose, canonical_combining_class, is_combining_mark, decompose_canonical, decompose_compatible},
11+
char::{
12+
canonical_combining_class, compose, decompose_canonical, decompose_compatible,
13+
is_combining_mark,
14+
},
1215
UnicodeNormalization,
1316
};
1417

@@ -33,7 +36,10 @@ fuzz_target!(|data: &[u8]| {
3336
} else {
3437
None
3538
};
36-
let string_data: String = data.iter().filter_map(|&b| std::char::from_u32(b as u32)).collect();
39+
let string_data: String = data
40+
.iter()
41+
.filter_map(|&b| std::char::from_u32(b as u32))
42+
.collect();
3743

3844
// Randomly choose a function target
3945
match data.first().map(|&b| b % 10) {

0 commit comments

Comments
 (0)