Skip to content

Commit 5ccffb0

Browse files
authored
docs: Fix builder link from docs.rs #3345
3468325 and afd0342 added extra context to the README's example. However, when browsing it at docs.rs, the builder link just links back to the page you are own, offering little value. Instead we'll now link to the tutorial which works as a next step from the example and resolves the "what do we link for the builder api" question.
1 parent b88faad commit 5ccffb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Create your command-line parser, with all of the bells and whistles, declarative
3232
### Example
3333

3434
This uses our
35-
[Derive API](https://github.com/clap-rs/clap/blob/v3.0.12/examples/derive_ref/README.md)
36-
which provides access to the [Builder API](https://docs.rs/clap) as attributes on a `struct`:
35+
[Derive API](https://github.com/clap-rs/clap/blob/v3.0.12/examples/tutorial_derive/README.md)
36+
which provides access to the [Builder API](https://github.com/clap-rs/clap/blob/v3.0.12/examples/tutorial_builder/README.md) as attributes on a `struct`:
3737

3838
<!-- Copied from examples/demo.{rs,md} -->
3939
```rust,no_run

0 commit comments

Comments
 (0)