Skip to content

Commit bbb2e7b

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 164759 b: refs/heads/try c: 0b0c3e1 h: refs/heads/master i: 164757: 9c329c9 164755: a58575b 164751: bd7dd4e v: v3
1 parent 5908c5e commit bbb2e7b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
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: f8f2c7a9537c7f333b242f616aefb75a83860927
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 8443b09e361b96d1f9b7f45a65ed0d31c0e86e70
5-
refs/heads/try: 950fbf4e106578b779e4f9ad68643bafae3e19e1
5+
refs/heads/try: 0b0c3e1d9623f4cb55a717cd3ffe8d985c84247f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/libcore/finally.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@
1919
//! # Example
2020
//!
2121
//! ```
22+
//! # #![feature(unboxed_closures)]
23+
//!
2224
//! use std::finally::Finally;
2325
//!
24-
//! (|| {
26+
//! # fn main() {
27+
//! (|&mut:| {
2528
//! // ...
2629
//! }).finally(|| {
2730
//! // this code is always run
2831
//! })
32+
//! # }
2933
//! ```
3034
3135
#![experimental]

0 commit comments

Comments
 (0)