Skip to content

Commit 4fad486

Browse files
authored
Merge pull request #299 from davidcole1340/fmt
fmt
2 parents 950ea62 + e063ae0 commit 4fad486

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/types/zval.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ impl Zval {
116116
///
117117
/// [`str()`]: #method.str
118118
pub fn string(&self) -> Option<String> {
119-
self.str()
120-
.map(|s| s.to_string())
119+
self.str().map(|s| s.to_string())
121120
}
122121

123122
/// Returns the value of the zval if it is a string.

0 commit comments

Comments
 (0)