Skip to content

Commit

Permalink
RUST拼写错误
Browse files Browse the repository at this point in the history
  • Loading branch information
LyonRust authored Apr 9, 2022
1 parent 38fb2de commit 24e52d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reference/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Cargo 会读取的环境变量

Cargo 为 crates 设置的环境变量

Cargo 在编译时,会将这些环境变量暴露在箱子中。请注意,这也适用于测试二进制文件。要在 RIST 程序中获得这些变量中的任何一个变量的值,请执行以下操作:
Cargo 在编译时,会将这些环境变量暴露在箱子中。请注意,这也适用于测试二进制文件。要在 RUST 程序中获得这些变量中的任何一个变量的值,请执行以下操作:

```rust
let version = env!("CARGO_PKG_VERSION");
Expand Down

0 comments on commit 24e52d0

Please sign in to comment.