From beb43843ff520eda03c4d12c1175992ae51e1025 Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 7 Dec 2022 09:58:03 +0000 Subject: [PATCH] app: sr_latch: fix doc-comment to have file scope --- crates/applications/sr_latch/src/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/applications/sr_latch/src/main.rs b/crates/applications/sr_latch/src/main.rs index 99262fa..81f872d 100644 --- a/crates/applications/sr_latch/src/main.rs +++ b/crates/applications/sr_latch/src/main.rs @@ -1,7 +1,7 @@ -/// this example creates a "set/reset" latch from a non-linear ferromagnetic device. -/// this is quite a bit like a "core memory" device. -/// the SR latch in this example is wired to a downstream latch, mostly to show that it's -/// possible to transfer the state (with some limitation) from one latch to another. +//! this example creates a "set/reset" latch from a non-linear ferromagnetic device. +//! this is quite a bit like a "core memory" device. +//! the SR latch in this example is wired to a downstream latch, mostly to show that it's +//! possible to transfer the state (with some limitation) from one latch to another. use coremem::{Driver, mat, meas}; use coremem::geom::{Coord as _, Meters, Torus}; @@ -14,7 +14,7 @@ fn main() { coremem::init_logging(); // feature size: the side-length of each discrete grid cell to model (in Meters) let feat_size = 20e-6f32; - + // parameters used below to describe the components we construct below. units are (M, A or S). let depth = 1600e-6; // closest distance between the non-vacuum component and the dissipating boundary