Skip to content

Commit 560eb29

Browse files
committed
chore(clippy): borrow_as_ptr, struct_excessive_bools
1 parent 1d27948 commit 560eb29

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/cli/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ enum Args {
9191
}
9292

9393
#[derive(Parser)]
94+
#[allow(clippy::struct_excessive_bools)]
9495
struct Install {
9596
/// Changes the path that the extension is copied to. This will not
9697
/// activate the extension unless `ini_path` is also passed.

src/zend/try_catch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ mod tests {
195195

196196
let _ = try_catch(|| {
197197
let mut result = "foo".to_string();
198-
ptr = &mut result;
198+
ptr = &raw mut result;
199199

200200
unsafe {
201201
bailout();

0 commit comments

Comments
 (0)