Skip to content

Commit 06e190e

Browse files
committed
fmt
1 parent a138296 commit 06e190e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/builders/module.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ impl ModuleBuilder {
131131
/// This function can be useful if you need to do any final cleanup at the
132132
/// very end of a request, after all other resources have been released. For
133133
/// example, if your extension creates any persistent resources that last
134-
/// beyond a single request, you could use this function to clean those up. # Arguments
134+
/// beyond a single request, you could use this function to clean those up.
135+
/// # Arguments
135136
///
136137
/// * `func` - The function to be called when shutdown is requested.
137138
pub fn post_deactivate_function(mut self, func: extern "C" fn() -> i32) -> Self {

src/zend/globals.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ use parking_lot::{const_rwlock, RwLock, RwLockReadGuard, RwLockWriteGuard};
99
use crate::boxed::ZBox;
1010
use crate::ffi::{
1111
_zend_executor_globals, ext_php_rs_executor_globals, ext_php_rs_process_globals,
12-
ext_php_rs_sapi_globals, php_core_globals, sapi_globals_struct, sapi_header_struct,
13-
sapi_headers_struct, sapi_request_info, zend_is_auto_global, TRACK_VARS_COOKIE, TRACK_VARS_ENV,
14-
TRACK_VARS_FILES, TRACK_VARS_GET, TRACK_VARS_POST, TRACK_VARS_REQUEST, TRACK_VARS_SERVER,
15-
php_file_globals, file_globals
12+
ext_php_rs_sapi_globals, file_globals, php_core_globals, php_file_globals, sapi_globals_struct,
13+
sapi_header_struct, sapi_headers_struct, sapi_request_info, zend_is_auto_global,
14+
TRACK_VARS_COOKIE, TRACK_VARS_ENV, TRACK_VARS_FILES, TRACK_VARS_GET, TRACK_VARS_POST,
15+
TRACK_VARS_REQUEST, TRACK_VARS_SERVER,
1616
};
1717

1818
use crate::types::{ZendHashTable, ZendObject, ZendStr};

src/zend/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ pub use class::ClassEntry;
1818
pub use ex::ExecuteData;
1919
pub use function::FunctionEntry;
2020
pub use globals::ExecutorGlobals;
21+
pub use globals::FileGlobals;
2122
pub use globals::ProcessGlobals;
2223
pub use globals::SapiGlobals;
23-
pub use globals::FileGlobals;
2424
pub use handlers::ZendObjectHandlers;
2525
pub use linked_list::ZendLinkedList;
2626
pub use module::ModuleEntry;

0 commit comments

Comments
 (0)