Skip to content

Commit 5f07459

Browse files
committed
---
yaml --- r: 122865 b: refs/heads/master c: 4c1fdd0 h: refs/heads/master i: 122863: f12474b v: v3
1 parent 5bc25c4 commit 5f07459

File tree

37 files changed

+1036
-1463
lines changed

37 files changed

+1036
-1463
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 98eb5f7498902de6ff19a1bb70155ca0cd16907c
2+
refs/heads/master: 4c1fdd065b28b85d879a01870525e2f0699262e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: aaff4e05e19b48d81e4ecb3337f288f42d06edd0
55
refs/heads/try: 2e9d9477b848cec778ca3f07ecdf0aea6ade23de

trunk/src/doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,7 @@ fn main() {
30383038
~~~{.ignore}
30393039
// `b/mod.rs`
30403040
pub mod c;
3041-
pub fn foo() { println!("Foo!"); }
3041+
pub fn foo() { println!("Foo!"; }
30423042
~~~
30433043

30443044
~~~{.ignore}

trunk/src/etc/vim/ftplugin/rust.vim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ setlocal formatoptions-=t formatoptions+=croqnl
3131
" j was only added in 7.3.541, so stop complaints about its nonexistence
3232
silent! setlocal formatoptions+=j
3333

34+
" smartindent will be overridden by indentexpr if filetype indent is on, but
35+
" otherwise it's better than nothing.
36+
setlocal smartindent nocindent
37+
38+
setlocal tabstop=4 shiftwidth=4 expandtab
39+
3440
" This includeexpr isn't perfect, but it's a good start
3541
setlocal includeexpr=substitute(v:fname,'::','/','g')
3642

0 commit comments

Comments
 (0)