diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-16 11:27:42 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-17 06:23:37 +0530 |
| commit | e0477fa7f956246ee83f9ff2d70febe0d203e352 (patch) | |
| tree | 3bbdc7e0dbe5514a245cc1c121960977ce001768 /src | |
| parent | 3e7af91851ac8e72139c44e2876830e3783cc8bb (diff) | |
| parent | 336dd6c8f03db7d70731da18d89040b1cb7d4765 (diff) | |
| download | rust-e0477fa7f956246ee83f9ff2d70febe0d203e352.tar.gz rust-e0477fa7f956246ee83f9ff2d70febe0d203e352.zip | |
Rollup merge of #22365 - serejkus:configs-link, r=steveklabnik
The book in "hello-world" tells that there are configs for some programs and gives a link to main repo's src/etc. Actually, these configs moved to separate repos some days ago. This PR adds a markdown file with links and moves "hello-world" link about editors to point directly to this new file.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/hello-world.md | 2 | ||||
| -rw-r--r-- | src/etc/CONFIGS.md | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/doc/trpl/hello-world.md b/src/doc/trpl/hello-world.md index 640f0109b06..a3b5d655fa7 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 diff --git a/src/etc/CONFIGS.md b/src/etc/CONFIGS.md new file mode 100644 index 00000000000..036a2f7d436 --- /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) |
