fix doc comment of Stack::limit

This commit is contained in:
edef 2016-08-30 18:30:58 -04:00
parent 5808a0ac63
commit 1aa5ffdcd0

View File

@ -12,7 +12,7 @@ pub trait Stack {
/// On all modern architectures, the stack grows downwards,
/// so this is the highest address.
fn base(&self) -> *mut u8;
/// Returns the bottom of the stack.
/// Returns the limit of the stack.
/// On all modern architectures, the stack grows downwards,
/// so this is the lowest address.
fn limit(&self) -> *mut u8;