app: sr_latch: fix doc-comment to have file scope

This commit is contained in:
colin 2022-12-07 09:58:03 +00:00
parent c06aa7ff36
commit beb43843ff
1 changed files with 5 additions and 5 deletions

View File

@ -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