about summary refs log tree commit diff
path: root/library/std/src/sys/thread/unix.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-12 20:02:14 +1000
committerGitHub <noreply@github.com>2025-09-12 20:02:14 +1000
commit322f5dc4f4f18ed640e942e2d2dc51f8c8d0a42c (patch)
treeca50ca916ef5b9d717150452fdb7dccc50f6a7b4 /library/std/src/sys/thread/unix.rs
parent119109e8ce912cdcc364602b0acc62fa3923be86 (diff)
parent7966ae0f3352894834a316bea9fd45068f94d937 (diff)
downloadrust-322f5dc4f4f18ed640e942e2d2dc51f8c8d0a42c.tar.gz
rust-322f5dc4f4f18ed640e942e2d2dc51f8c8d0a42c.zip
Rollup merge of #146413 - GuillaumeGomez:rustdoc-bare-urls, r=lolbinarycat
Improve suggestion in case a bare URL is surrounded by brackets

Fixes https://github.com/rust-lang/rust/issues/146162.

With this change, output looks like this:

```
  |
1 | //! [https://github.com]
  |     ^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com>`
  |
  = note: bare URLs are not automatically turned into clickable links
  = note: `#[warn(rustdoc::bare_urls)]` on by default
```

cc ```@fmease```
r? ```@lolbinarycat```
Diffstat (limited to 'library/std/src/sys/thread/unix.rs')
0 files changed, 0 insertions, 0 deletions