add #![deny(missing_docs)] AND #![deny(warnings)] in main.rs, and add more comments

This commit is contained in:
Yu Chen 2022-03-25 11:17:40 +08:00
parent 2b53281dd8
commit 745ea760d0
20 changed files with 126 additions and 13 deletions

View file

@ -1,9 +1,12 @@
//! Types related to task management
use super::TaskContext;
#[derive(Copy, Clone)]
pub struct TaskControlBlock {
pub task_status: TaskStatus,
pub task_cx: TaskContext,
// LAB1: Add whatever you need about the Task.
}
#[derive(Copy, Clone, PartialEq)]