Skip to content

Commit 8eb3859

Browse files
committed
Audit integer types in finally.
1 parent a43daa6 commit 8eb3859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/finally.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl<T, F> Finally<T> for F where F: FnMut() -> T {
7272
/// ```
7373
/// use std::finally::try_finally;
7474
///
75-
/// struct State<'a> { buffer: &'a mut [u8], len: uint }
75+
/// struct State<'a> { buffer: &'a mut [u8], len: usize }
7676
/// # let mut buf = [];
7777
/// let mut state = State { buffer: &mut buf, len: 0 };
7878
/// try_finally(

0 commit comments

Comments
 (0)