Skip to content

Commit e4298ef

Browse files
committed
---
yaml --- r: 153145 b: refs/heads/try2 c: f37e202 h: refs/heads/master i: 153143: 1aef510 v: v3
1 parent 9c2c11b commit e4298ef

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: aaff4e05e19b48d81e4ecb3337f288f42d06edd0
8+
refs/heads/try2: f37e202b53d208cd65f45fa96d2f2453b26bb9ee
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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

branches/try2/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}

branches/try2/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)