Skip to content

Commit

Permalink
Fix clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
ptondereau committed Dec 19, 2022
1 parent 6ddecf7 commit 4a34b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ fn check_php_version(info: &PHPInfo) -> Result<()> {

println!("cargo:rustc-cfg=php80");

if version >= PHP_81_API_VER && version < PHP_82_API_VER {
if (PHP_81_API_VER..PHP_82_API_VER).contains(&version) {
println!("cargo:rustc-cfg=php81");
}

Expand Down

0 comments on commit 4a34b7a

Please sign in to comment.