Skip to content

Commit 7148c7d

Browse files
committed
fix: do clippy
1 parent da57233 commit 7148c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ impl<'a> From<&'a ngx_list_part_t> for ListPart<'a> {
435435
fn from(raw: &'a ngx_list_part_t) -> Self {
436436
Self {
437437
raw,
438-
arr: &unsafe { from_raw_parts(raw.elts.cast::<ngx_table_elt_t>(), raw.nelts) },
438+
arr: unsafe { from_raw_parts(raw.elts.cast::<ngx_table_elt_t>(), raw.nelts) },
439439
}
440440
}
441441
}

0 commit comments

Comments
 (0)