From bed763cf543d46eeafcbf5ec66055a6ed2513c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Autin?= Date: Wed, 15 Mar 2023 11:01:25 +0100 Subject: [PATCH] :memo: Updated mod doc for list and system --- src/kernel/system.rs | 4 ++++ src/utility/list.rs | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/kernel/system.rs b/src/kernel/system.rs index 3e526f3..2f681c5 100644 --- a/src/kernel/system.rs +++ b/src/kernel/system.rs @@ -1,3 +1,7 @@ +//! # System module +//! +//! Module containing structs and methods pertaining to the state of the operating system + use std::{cell::RefCell, rc::Rc}; use crate::simulator::machine::Machine; diff --git a/src/utility/list.rs b/src/utility/list.rs index b3cc66f..bfb3207 100644 --- a/src/utility/list.rs +++ b/src/utility/list.rs @@ -1,7 +1,5 @@ +//! Data structure and definition of a genericsingle-linked LIFO list. -/// Data structure and definition of a genericsingle-linked LIFO list. -/// -/// This is a #[derive(PartialEq)] pub struct List { head: Link,