Skip to content

Commit b4ff5bb

Browse files
committed
consistency and fmt
1 parent 692c6bd commit b4ff5bb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/builders/function.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ use crate::{
55
types::Zval,
66
zend::{ExecuteData, FunctionEntry, ZendType},
77
};
8-
use std::{
9-
ffi::{c_char, CString},
10-
mem, ptr,
11-
};
8+
use std::{ffi::CString, mem, ptr};
129

1310
/// Function representation in Rust.
1411
#[cfg(not(windows))]
@@ -59,9 +56,9 @@ impl<'a> FunctionBuilder<'a> {
5956
num_args: 0,
6057
flags: 0,
6158
#[cfg(php84)]
62-
frameless_function_infos: ptr::null(),
59+
doc_comment: ptr::null(),
6360
#[cfg(php84)]
64-
doc_comment: "".as_ptr() as *const c_char,
61+
frameless_function_infos: ptr::null(),
6562
},
6663
args: vec![],
6764
n_req: None,

0 commit comments

Comments
 (0)