From 3c0165d59ffc3abe890a0e6512c60e8ab76a16d5 Mon Sep 17 00:00:00 2001 From: Christian Stadelmann Date: Thu, 4 Jun 2015 15:44:30 +0200 Subject: [PATCH 1/2] [Documentation] Use SSL where possible --- src/doc/index.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/doc/index.md b/src/doc/index.md index f561cf5d70f56..fba919b711586 100644 --- a/src/doc/index.md +++ b/src/doc/index.md @@ -25,7 +25,7 @@ series of small examples. If you need help with something, or just want to talk about Rust with others, there are a few places you can do that: -The Rust IRC channels on [irc.mozilla.org](http://irc.mozilla.org/) are the +The Rust IRC channels on [irc.mozilla.org](irc://irc.mozilla.org/) are the fastest way to get help. [`#rust`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust) is the general discussion channel, and you'll find people willing to help you with @@ -40,15 +40,15 @@ There's also [`#rust-internals`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals), which is for discussion of the development of Rust itself. You can also get help on [Stack -Overflow](http://stackoverflow.com/questions/tagged/rust). Searching for your +Overflow](https://stackoverflow.com/questions/tagged/rust). Searching for your problem might reveal someone who has asked it before! -There is an active [subreddit](http://reddit.com/r/rust) with lots of +There is an active [subreddit](https://reddit.com/r/rust) with lots of discussion and news about Rust. -There is also a [user forum](http://users.rust-lang.org), for all -user-oriented discussion, and a [developer -forum](http://internals.rust-lang.org/), where the development of Rust +There is also a [user forum](https://users.rust-lang.org), for all +user-oriented discussion, and a [developer +forum](https://internals.rust-lang.org/), where the development of Rust itself is discussed. # Specification @@ -61,7 +61,7 @@ the language in as much detail as possible is in [the reference](reference.html) Rust is still a young language, so there isn't a ton of tooling yet, but the tools we have are really nice. -[Cargo](http://crates.io) is Rust's package manager, and its website contains +[Cargo](https://crates.io) is Rust's package manager, and its website contains lots of good documentation. [`rustdoc`](book/documentation.html) is used to generate documentation for Rust code. From 2abffd55dba9f9ac45dad3fd0ae568f0f78b99db Mon Sep 17 00:00:00 2001 From: Christian Stadelmann Date: Thu, 4 Jun 2015 15:53:22 +0200 Subject: [PATCH 2/2] [Documentation: Macros] Use some more SSL --- src/doc/trpl/macros.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/trpl/macros.md b/src/doc/trpl/macros.md index e843dbeed3cf4..1317a1490903b 100644 --- a/src/doc/trpl/macros.md +++ b/src/doc/trpl/macros.md @@ -224,7 +224,7 @@ more" match. Both forms optionally include a separator, which can be any token except `+` or `*`. This system is based on -"[Macro-by-Example](http://www.cs.indiana.edu/ftp/techreports/TR206.pdf)" +"[Macro-by-Example](https://www.cs.indiana.edu/ftp/techreports/TR206.pdf)" (PDF link). # Hygiene @@ -319,7 +319,7 @@ syntax context where it was introduced. It’s as though the variable `state` inside `main` is painted a different "color" from the variable `state` inside the macro, and therefore they don’t conflict. -[hygienic macro system]: http://en.wikipedia.org/wiki/Hygienic_macro +[hygienic macro system]: https://en.wikipedia.org/wiki/Hygienic_macro This also restricts the ability of macros to introduce new bindings at the invocation site. Code such as the following will not work: @@ -622,7 +622,7 @@ invocation gives you another opportunity to pattern-match the macro’s arguments. As an extreme example, it is possible, though hardly advisable, to implement -the [Bitwise Cyclic Tag](http://esolangs.org/wiki/Bitwise_Cyclic_Tag) automaton +the [Bitwise Cyclic Tag](https://esolangs.org/wiki/Bitwise_Cyclic_Tag) automaton within Rust’s macro system. ```rust