Skip to content

Commit fcc74b2

Browse files
committed
---
yaml --- r: 94039 b: refs/heads/try c: 6600ba9 h: refs/heads/master i: 94037: 1a70a3c 94035: 52cbdc9 94031: 2631aec v: v3
1 parent f4bfa70 commit fcc74b2

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 0da105a8b7b6b1e0568e8ff20f6ff4b13cc7ecc2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d3e57dca68fde4effdda3e4ae2887aa535fcd6
5-
refs/heads/try: f1ef36ea2ffcb3af7ea76b323f8cb47670fd243c
5+
refs/heads/try: 6600ba97c352058b08e077f7ae64dc92f87fadb6
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

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