Skip to content

Commit c0839e7

Browse files
committed
---
yaml --- r: 146991 b: refs/heads/try2 c: 6600ba9 h: refs/heads/master i: 146989: 13e20a7 146987: 6c46583 146983: c6ade62 146975: d252a8d v: v3
1 parent fa9343a commit c0839e7

File tree

5 files changed

+3
-54
lines changed

5 files changed

+3
-54
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: f1ef36ea2ffcb3af7ea76b323f8cb47670fd243c
8+
refs/heads/try2: 6600ba97c352058b08e077f7ae64dc92f87fadb6
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/doc/rust.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3225,32 +3225,6 @@ let bo: Binop = add;
32253225
x = bo(5,7);
32263226
~~~~
32273227

3228-
### Closure types
3229-
3230-
The type of a closure mapping an input of type `A` to an output of type `B` is `|A| -> B`. A closure with no arguments or return values has type `||`.
3231-
3232-
3233-
An example of creating and calling a closure:
3234-
3235-
```rust
3236-
let captured_var = 10;
3237-
3238-
let closure_no_args = || println!("captured_var={}", captured_var);
3239-
3240-
let closure_args = |arg: int| -> int {
3241-
println!("captured_var={}, arg={}", captured_var, arg);
3242-
arg // Note lack of semicolon after 'arg'
3243-
};
3244-
3245-
fn call_closure(c1: ||, c2: |int| -> int) {
3246-
c1();
3247-
c2(2);
3248-
}
3249-
3250-
call_closure(closure_no_args, closure_args);
3251-
3252-
```
3253-
32543228
### Object types
32553229

32563230
Every trait item (see [traits](#traits)) defines a type with the same name as the trait.

branches/try2/src/libextra/flate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use std::vec;
2323
pub mod rustrt {
2424
use std::libc::{c_int, c_void, size_t};
2525

26-
#[link(name = "rustrt", kind = "static")]
26+
#[link(name = "rustrt")]
2727
extern {
2828
pub fn tdefl_compress_mem_to_heap(psrc_buf: *c_void,
2929
src_buf_len: size_t,

branches/try2/src/librustdoc/core.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ fn get_ast_and_resolve(cpath: &Path,
5151
binary: @"rustdoc",
5252
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
5353
addl_lib_search_paths: @mut libs,
54+
outputs: ~[driver::session::OutputDylib],
5455
.. (*rustc::driver::session::basic_options()).clone()
5556
};
5657

branches/try2/src/test/run-pass/borrowck-preserve-box-in-moved-value.rs

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)