From 40571ec0b30ee5a43844b4426173a85e22dd69fb Mon Sep 17 00:00:00 2001 From: Elantsev Serj Date: Sun, 15 Feb 2015 14:32:48 +0300 Subject: [PATCH 1/2] markdown file with links to configs --- src/etc/CONFIGS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/etc/CONFIGS.md diff --git a/src/etc/CONFIGS.md b/src/etc/CONFIGS.md new file mode 100644 index 0000000000000..036a2f7d4365b --- /dev/null +++ b/src/etc/CONFIGS.md @@ -0,0 +1,10 @@ +# Configs + +Here are some links to repos with configs which ease the use of rust: + +* [rust.vim](https://github.com/rust-lang/rust.vim) +* [emacs rust-mode](https://github.com/rust-lang/rust-mode) +* [gedit-config](https://github.com/rust-lang/gedit-config) +* [kate-config](https://github.com/rust-lang/kate-config) +* [nano-config](https://github.com/rust-lang/nano-config) +* [zsh-config](https://github.com/rust-lang/zsh-config) From 336dd6c8f03db7d70731da18d89040b1cb7d4765 Mon Sep 17 00:00:00 2001 From: Elantsev Serj Date: Sun, 15 Feb 2015 14:38:47 +0300 Subject: [PATCH 2/2] book: link to a file with configs links --- src/doc/trpl/hello-world.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/hello-world.md b/src/doc/trpl/hello-world.md index 640f0109b0697..a3b5d655fa78b 100644 --- a/src/doc/trpl/hello-world.md +++ b/src/doc/trpl/hello-world.md @@ -89,7 +89,7 @@ This line does all of the work in our little program. There are a number of details that are important here. The first is that it's indented with four spaces, not tabs. Please configure your editor of choice to insert four spaces with the tab key. We provide some [sample configurations for various -editors](https://github.com/rust-lang/rust/tree/master/src/etc). +editors](https://github.com/rust-lang/rust/tree/master/src/etc/CONFIGS.md). The second point is the `println!()` part. This is calling a Rust *macro*, which is how metaprogramming is done in Rust. If it were a function instead, it