Skip to content

Commit 688dc48

Browse files
committed
---
yaml --- r: 122867 b: refs/heads/master c: f37e202 h: refs/heads/master i: 122865: 5f07459 122863: f12474b v: v3
1 parent fe1e1b7 commit 688dc48

File tree

39 files changed

+1036
-1474
lines changed

39 files changed

+1036
-1474
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: aaff4e05e19b48d81e4ecb3337f288f42d06edd0
2+
refs/heads/master: f37e202b53d208cd65f45fa96d2f2453b26bb9ee
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: aaff4e05e19b48d81e4ecb3337f288f42d06edd0
55
refs/heads/try: 2e9d9477b848cec778ca3f07ecdf0aea6ade23de

trunk/src/doc/guide.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -895,13 +895,14 @@ fn add_one(x: int) -> int {
895895
We would get an error:
896896

897897
```{ignore,notrust}
898-
note: consider removing this semicolon:
899-
x + 1;
900-
^
901898
error: not all control paths return a value
902899
fn add_one(x: int) -> int {
903900
x + 1;
904901
}
902+
903+
note: consider removing this semicolon:
904+
x + 1;
905+
^
905906
```
906907

907908
Remember our earlier discussions about semicolons and `()`? Our function claims

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: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ 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-
4034
" This includeexpr isn't perfect, but it's a good start
4135
setlocal includeexpr=substitute(v:fname,'::','/','g')
4236

0 commit comments

Comments
 (0)