Skip to content

Commit d24515d

Browse files
committed
Add a link for git bisect run
1 parent b153d15 commit d24515d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

posts/2022-05-19-Rust-1.61.0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type that wraps platform-specific return types. That has `SUCCESS` and `FAILURE`
4141
implements `From<u8>` for more arbitrary values. The `Termination` trait can also be implemented for
4242
your own types, allowing you to customize any kind of reporting before converting to an `ExitCode`.
4343

44-
For example, here's a type-safe way to write exit codes for a `git bisect run` script:
44+
For example, here's a type-safe way to write exit codes for a [`git bisect run`] script:
4545

4646
```rust
4747
use std::process::{ExitCode, Termination};
@@ -68,6 +68,8 @@ fn main() -> GitBisectResult {
6868
}
6969
```
7070

71+
[`git bisect run`]: https://git-scm.com/docs/git-bisect#_bisect_run
72+
7173
### More capabilities for `const fn`
7274

7375
Several incremental features have been stabilized in this release to enable more functionality in

0 commit comments

Comments
 (0)