From 01e57ce9f5e7cb5e6074af9d1c12318f45cac12e Mon Sep 17 00:00:00 2001 From: edef Date: Thu, 16 Apr 2015 07:47:23 -0400 Subject: [PATCH] let os::Stack's docs shine through the facade --- src/os/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/os/mod.rs b/src/os/mod.rs index 70e843f..d8c582f 100644 --- a/src/os/mod.rs +++ b/src/os/mod.rs @@ -1,9 +1,5 @@ // Copyright (c) 2015, edef // See the LICENSE file included in this distribution. -//! This module provides stacks using the operating system's -//! anonymous memory mapping facility, usually `mmap`. -//! The stacks it provides come with a guard page, which is not included -//! in the stack limit. extern crate std; use core::prelude::*; @@ -11,6 +7,10 @@ use self::std::io::Error as IoError; use stack; mod sys; +/// This object represents a stack from the operating system's +/// anonymous memory mapping facility, usually `mmap`. +/// The stack it provides comes with a guard page, which is not included +/// in the stack limit. #[allow(raw_pointer_derive)] #[derive(Debug)] pub struct Stack {