Audit integer types in finally.
This commit is contained in:
parent
a43daa6366
commit
8eb38590c9
@ -72,7 +72,7 @@ impl<T, F> Finally<T> for F where F: FnMut() -> T {
|
||||
/// ```
|
||||
/// use std::finally::try_finally;
|
||||
///
|
||||
/// struct State<'a> { buffer: &'a mut [u8], len: uint }
|
||||
/// struct State<'a> { buffer: &'a mut [u8], len: usize }
|
||||
/// # let mut buf = [];
|
||||
/// let mut state = State { buffer: &mut buf, len: 0 };
|
||||
/// try_finally(
|
||||
|
Loading…
x
Reference in New Issue
Block a user