chore: add missing closing tag in a comment (#4958)

This commit is contained in:
Angelo Huang 2022-08-17 00:22:24 +02:00 committed by GitHub
parent c53d9ea1b3
commit 9bbc30590b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ fn has_feature(feature: &str) -> bool {
.unwrap()
.push(feature.to_string());
// when a feature is enabled, Cargo sets the `CARGO_FEATURE_<name` env var to 1
// when a feature is enabled, Cargo sets the `CARGO_FEATURE_<name>` env var to 1
// https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-build-scripts
std::env::var(format!("CARGO_FEATURE_{}", AsShoutySnakeCase(feature)))
.map(|x| x == "1")