Skip to content

Commit 7d40ca5

Browse files
committed
Formatting
1 parent 99439bf commit 7d40ca5

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/zend/globals.rs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ impl ExecutorGlobals {
5151
unsafe { self.class_table.as_ref() }
5252
}
5353

54-
/// Retrieves the ini values for all ini directives in the current executor context..
54+
/// Retrieves the ini values for all ini directives in the current executor
55+
/// context..
5556
pub fn ini_values(&self) -> HashMap<String, Option<String>> {
5657
let hash_table = unsafe { &*self.ini_directives };
5758
let mut ini_hash_map: HashMap<String, Option<String>> = HashMap::new();
@@ -62,11 +63,15 @@ impl ExecutorGlobals {
6263
if ini_entry.value.is_null() {
6364
None
6465
} else {
65-
Some((*ini_entry.value).as_str().expect("Ini value is not a string").to_owned())
66+
Some(
67+
(*ini_entry.value)
68+
.as_str()
69+
.expect("Ini value is not a string")
70+
.to_owned(),
71+
)
6672
}
6773
});
6874
}
69-
7075
}
7176
ini_hash_map
7277
}

0 commit comments

Comments
 (0)