📝 Updated mod doc for list and system
This commit is contained in:
parent
e5242aab0c
commit
bed763cf54
@ -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;
|
||||||
|
@ -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>,
|
||||||
|
Loading…
Reference in New Issue
Block a user