about summary refs log tree commit diff
path: root/src/libterm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-12-28 09:19:26 +0000
committerbors <bors@rust-lang.org>2019-12-28 09:19:26 +0000
commitf564c4db0d97eabd7fdd72e589d3e415790ee2a4 (patch)
tree8882344529a8b0a82b59364b569912c0c34fb45b /src/libterm
parent8b4d22cb25bd49ac29eaa2960b559b7eee06d197 (diff)
parent3a2ef17194d7bfe56e75a3504327b38bcad979ef (diff)
downloadrust-f564c4db0d97eabd7fdd72e589d3e415790ee2a4.tar.gz
rust-f564c4db0d97eabd7fdd72e589d3e415790ee2a4.zip
Auto merge of #67605 - lzutao:msdn-links, r=Mark-Simulacrum
tidy: change msdn links to newer locations

see accouncement at https://docs.microsoft.com/welcome-to-docs
The script that I used: https://gist.github.com/lzutao/1449c9210ad91899841d62e0058d2caa
Diffstat (limited to 'src/libterm')
-rw-r--r--src/libterm/lib.rs2
-rw-r--r--src/libterm/win.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs
index 7318ced676a..d2e3b07ab85 100644
--- a/src/libterm/lib.rs
+++ b/src/libterm/lib.rs
@@ -27,7 +27,7 @@
 //! ```
 //!
 //! [ansi]: https://en.wikipedia.org/wiki/ANSI_escape_code
-//! [win]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
+//! [win]: https://docs.microsoft.com/en-us/windows/console/character-mode-applications
 //! [ti]: https://en.wikipedia.org/wiki/Terminfo
 
 #![doc(
diff --git a/src/libterm/win.rs b/src/libterm/win.rs
index a789d739ab1..b6c607a3081 100644
--- a/src/libterm/win.rs
+++ b/src/libterm/win.rs
@@ -101,7 +101,7 @@ impl<T: Write + Send + 'static> WinConsole<T> {
 
         unsafe {
             // Magic -11 means stdout, from
-            // http://msdn.microsoft.com/en-us/library/windows/desktop/ms683231%28v=vs.85%29.aspx
+            // https://docs.microsoft.com/en-us/windows/console/getstdhandle
             //
             // You may be wondering, "but what about stderr?", and the answer
             // to that is that setting terminal attributes on the stdout