about summary refs log tree commit diff
path: root/src/librustdoc/clean
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2022-12-20 12:42:12 +0900
committerTaiki Endo <te316e89@gmail.com>2022-12-20 12:42:12 +0900
commit1b11ce26fa08b7f2a200fe1f4a21c7f580f354a5 (patch)
treeca229bb8a259a015a13ed4f73f26d86aca36e16f /src/librustdoc/clean
parent696563efc5c3c0d87a601dff22966d2c5eb20a5e (diff)
downloadrust-1b11ce26fa08b7f2a200fe1f4a21c7f580f354a5.tar.gz
rust-1b11ce26fa08b7f2a200fe1f4a21c7f580f354a5.zip
Add readable rustdoc display for tvOS and watchOS
Diffstat (limited to 'src/librustdoc/clean')
-rw-r--r--src/librustdoc/clean/cfg.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/clean/cfg.rs b/src/librustdoc/clean/cfg.rs
index 1843a21205c..f1853f3697d 100644
--- a/src/librustdoc/clean/cfg.rs
+++ b/src/librustdoc/clean/cfg.rs
@@ -507,7 +507,9 @@ impl<'a> fmt::Display for Display<'a> {
                         "openbsd" => "OpenBSD",
                         "redox" => "Redox",
                         "solaris" => "Solaris",
+                        "tvos" => "tvOS",
                         "wasi" => "WASI",
+                        "watchos" => "watchOS",
                         "windows" => "Windows",
                         _ => "",
                     },