about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-21 09:26:02 +0000
committerbors <bors@rust-lang.org>2023-08-21 09:26:02 +0000
commit5e9d3d8a03fadf1877286528e5c9d0c056ac82b5 (patch)
tree0e0cca951a100efb438f09aabfd61021f3016419 /library/std/src
parentc40cfcf0494ff7506e753e750adb00eeea839f9c (diff)
parent1d42913058d4005655ea51b2d9dde707791c6541 (diff)
downloadrust-5e9d3d8a03fadf1877286528e5c9d0c056ac82b5.tar.gz
rust-5e9d3d8a03fadf1877286528e5c9d0c056ac82b5.zip
Auto merge of #106561 - GuillaumeGomez:warning-block, r=rustdoc
Add warning block support in rustdoc

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

You can test it [here](https://rustdoc.crud.net/imperio/warning-block/foo/struct.Foo.html). It currently looks like this:

![image](https://user-images.githubusercontent.com/3050060/211413494-e1cf04e4-c081-4a9d-97db-27329405cfa7.png)

So a few things to note:

 * Since it's a new add and it's changing the UI, we'll need to go through an FCP.
 * Does the UI looks good?
 * Is the way picked to add a warning block ok for everyone? The discussion on the issue seemed to be in favour of this solution but it doesn't hurt to double-check.

cc `@rust-lang/rustdoc`
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions