Skip to content

Commit da36b81

Browse files
committed
Fix some awkward wording.
1 parent e267b26 commit da36b81

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

src/doc/src/reference/build-scripts.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -90,23 +90,22 @@ configuration). The stderr output is also saved in that same directory.
9090
The following is a summary of the instructions that Cargo recognizes, with each
9191
one detailed below.
9292

93-
* [`cargo:rerun-if-changed=PATH`](#rerun-if-changed) — Used to tell Cargo when
93+
* [`cargo:rerun-if-changed=PATH`](#rerun-if-changed) — Tells Cargo when to
94+
re-run the script.
95+
* [`cargo:rerun-if-env-changed=VAR`](#rerun-if-env-changed) — Tells Cargo when
9496
to re-run the script.
95-
* [`cargo:rerun-if-env-changed=VAR`](#rerun-if-env-changed) — Used to tell
96-
Cargo when to re-run the script.
97-
* [`cargo:rustc-link-lib=[KIND=]NAME`](#rustc-link-lib) — Used to link a
98-
library.
99-
* [`cargo:rustc-link-search=[KIND=]PATH`](#rustc-link-search) — Used to add to
100-
the library search path.
101-
* [`cargo:rustc-flags=FLAGS`](#rustc-flags) — Used to pass certain flags to
102-
the compiler.
103-
* [`cargo:rustc-cfg=KEY[="VALUE"]`](#rustc-cfg) — Used to enable compile-time
104-
`cfg` settings.
105-
* [`cargo:rustc-env=VAR=VALUE`](#rustc-env) — Used to set an environment
106-
variable.
107-
* [`cargo:rustc-cdylib-link-arg=FLAG`](#rustc-cdylib-link-arg) — Used to pass
108-
custom flags to a linker for cdylib crates.
109-
* [`cargo:warning=MESSAGE`](#cargo-warning) — Used to display a warning on the
97+
* [`cargo:rustc-link-lib=[KIND=]NAME`](#rustc-link-lib) — Adds a library to
98+
link.
99+
* [`cargo:rustc-link-search=[KIND=]PATH`](#rustc-link-search) — Adds to the
100+
library search path.
101+
* [`cargo:rustc-flags=FLAGS`](#rustc-flags) — Passes certain flags to the
102+
compiler.
103+
* [`cargo:rustc-cfg=KEY[="VALUE"]`](#rustc-cfg) — Enables compile-time `cfg`
104+
settings.
105+
* [`cargo:rustc-env=VAR=VALUE`](#rustc-env) — Sets an environment variable.
106+
* [`cargo:rustc-cdylib-link-arg=FLAG`](#rustc-cdylib-link-arg) — Passes custom
107+
flags to a linker for cdylib crates.
108+
* [`cargo:warning=MESSAGE`](#cargo-warning) — Displays a warning on the
110109
terminal.
111110
* [`cargo:KEY=VALUE`](#the-links-manifest-key) — Metadata, used by `links`
112111
scripts.

0 commit comments

Comments
 (0)