Skip to content

Commit e0477fa

Browse files
committed
Rollup merge of rust-lang#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.
2 parents 3e7af91 + 336dd6c commit e0477fa

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/doc/trpl/hello-world.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ This line does all of the work in our little program. There are a number of
8989
details that are important here. The first is that it's indented with four
9090
spaces, not tabs. Please configure your editor of choice to insert four spaces
9191
with the tab key. We provide some [sample configurations for various
92-
editors](https://github.com/rust-lang/rust/tree/master/src/etc).
92+
editors](https://github.com/rust-lang/rust/tree/master/src/etc/CONFIGS.md).
9393

9494
The second point is the `println!()` part. This is calling a Rust *macro*,
9595
which is how metaprogramming is done in Rust. If it were a function instead, it

src/etc/CONFIGS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Configs
2+
3+
Here are some links to repos with configs which ease the use of rust:
4+
5+
* [rust.vim](https://github.com/rust-lang/rust.vim)
6+
* [emacs rust-mode](https://github.com/rust-lang/rust-mode)
7+
* [gedit-config](https://github.com/rust-lang/gedit-config)
8+
* [kate-config](https://github.com/rust-lang/kate-config)
9+
* [nano-config](https://github.com/rust-lang/nano-config)
10+
* [zsh-config](https://github.com/rust-lang/zsh-config)

0 commit comments

Comments
 (0)