mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-03 16:42:42 +03:00
chore: add missing closing tag in a comment (#4958)
This commit is contained in:
parent
c53d9ea1b3
commit
9bbc30590b
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user