📝 Updated mod doc for list and system

This commit is contained in:
François Autin 2023-03-15 11:01:25 +01:00
parent e5242aab0c
commit bed763cf54
2 changed files with 5 additions and 3 deletions

View File

@ -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 std::{cell::RefCell, rc::Rc};
use crate::simulator::machine::Machine; use crate::simulator::machine::Machine;

View File

@ -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)] #[derive(PartialEq)]
pub struct List<T: PartialEq> { pub struct List<T: PartialEq> {
head: Link<T>, head: Link<T>,