Skip to content

Commit c75155f

Browse files
committed
docs: Use rust-lang.github.io/rfcs links instead of source links
1 parent 252dd02 commit c75155f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ impl str {
175175
}
176176
```
177177

178-
[rfc0445]: https://github.com/rust-lang/rfcs/blob/HEAD/text/0445-extension-trait-conventions.md
178+
[rfc0445]: https://rust-lang.github.io/rfcs/0445-extension-trait-conventions.html
179179

180180
<!-- tidy:sync-markdown-to-rustdoc:end -->
181181

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl str {
172172
}
173173
```
174174
175-
[rfc0445]: https://github.com/rust-lang/rfcs/blob/HEAD/text/0445-extension-trait-conventions.md
175+
[rfc0445]: https://rust-lang.github.io/rfcs/0445-extension-trait-conventions.html
176176
177177
<!-- tidy:sync-markdown-to-rustdoc:end -->
178178
*/
@@ -214,9 +214,9 @@ use crate::{
214214

215215
/// A lightweight attribute macro for easily writing [extension trait pattern][rfc0445].
216216
///
217-
/// See crate level documentation for details.
217+
/// See the [crate-level documentation](crate) for details.
218218
///
219-
/// [rfc0445]: https://github.com/rust-lang/rfcs/blob/HEAD/text/0445-extension-trait-conventions.md
219+
/// [rfc0445]: https://rust-lang.github.io/rfcs/0445-extension-trait-conventions.html
220220
#[proc_macro_attribute]
221221
pub fn ext(args: TokenStream, input: TokenStream) -> TokenStream {
222222
expand(args, input).unwrap_or_else(Error::into_compile_error)

0 commit comments

Comments
 (0)