Skip to content

Commit

Permalink
align docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
galenseilis committed Oct 6, 2024
1 parent 0fac76b commit 2aaeac8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion desru/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "desru"
version = "0.1.5"
version = "0.1.6"
edition = "2021"

description = "Discrete Event Simulation in Rust (DESRu)"
Expand Down
2 changes: 1 addition & 1 deletion desru/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Overview

DESRu (pronounced "dez-ra") is a discrete event simulation package for Rust.
DESRu (pronounced "dez-ruh") is a discrete event simulation package for Rust.
4 changes: 3 additions & 1 deletion desru/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
//!
//! fn main() {
//! let mut scheduler = EventScheduler::new();
//! let mut event = Event::new(0.0, Some(Box::new(|scheduler| Some("Executed".to_string()))), None);
//! let mut event = Event::new(0.0,
//! Some(Box::new(|scheduler| Some("Executed".to_string()))),
//! None);
//! scheduler.schedule(event);
//! scheduler.run_until_max_time(10.0);
//! }
Expand Down

0 comments on commit 2aaeac8

Please sign in to comment.