Skip to content

Commit 5d33609

Browse files
committed
Small wording tweak.
1 parent 38aea8e commit 5d33609

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/doc/man/cargo-bench.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ similarly named benchmarks like `foobar`):
3030

3131
Benchmarks are built with the `--test` option to `rustc` which creates a
3232
special executable by linking your code with libtest. The executable
33-
automatically runs all functions annotated with `#[bench]` attribute.
33+
automatically runs all functions annotated with the `#[bench]` attribute.
3434
Cargo passes the `--bench` flag to the test harness to tell it to run
3535
only benchmarks.
3636

src/doc/man/generated_txt/cargo-bench.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ DESCRIPTION
2525

2626
Benchmarks are built with the --test option to rustc which creates a
2727
special executable by linking your code with libtest. The executable
28-
automatically runs all functions annotated with #[bench] attribute.
28+
automatically runs all functions annotated with the #[bench] attribute.
2929
Cargo passes the --bench flag to the test harness to tell it to run only
3030
benchmarks.
3131

src/doc/src/commands/cargo-bench.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ similarly named benchmarks like `foobar`):
3030

3131
Benchmarks are built with the `--test` option to `rustc` which creates a
3232
special executable by linking your code with libtest. The executable
33-
automatically runs all functions annotated with `#[bench]` attribute.
33+
automatically runs all functions annotated with the `#[bench]` attribute.
3434
Cargo passes the `--bench` flag to the test harness to tell it to run
3535
only benchmarks.
3636

src/etc/man/cargo-bench.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cargo bench \-\- foo \-\-exact
3030
.sp
3131
Benchmarks are built with the \fB\-\-test\fR option to \fBrustc\fR which creates a
3232
special executable by linking your code with libtest. The executable
33-
automatically runs all functions annotated with \fB#[bench]\fR attribute.
33+
automatically runs all functions annotated with the \fB#[bench]\fR attribute.
3434
Cargo passes the \fB\-\-bench\fR flag to the test harness to tell it to run
3535
only benchmarks.
3636
.sp

0 commit comments

Comments
 (0)