Skip to content

Commit

Permalink
general updates for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saturn77 committed Dec 2, 2020
1 parent e3c97ae commit be87ea2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 44 deletions.
27 changes: 0 additions & 27 deletions examples/gen_vishay_resistor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,39 +96,12 @@
//! }
//! ```
//!
//! Which will result in values in the file "data.txt" as
//!
//! RES0402_1.00, Vishay, 0402, 1/16
//!
//! RES0402_1.02, Vishay, 0402, 1/16
//!
//! RES0402_1.05, Vishay, 0402, 1/16
//!
//!
//! . . . . . . . . . . . . . . . (omitting values for brevity)
//!
//!
//!
//! RES0402_909K, Vishay, 0402, 1/16
//!
//! RES0402_931K, Vishay, 0402, 1/16
//!
//! RES0402_953K, Vishay, 0402, 1/16
//!
//! RES0402_976K, Vishay, 0402, 1/16
//!
//-----------------------------------------------------------------------------------
// Licensed under GNU General Public License (GPL).
// Copyright, 206-2020, Atlantix-EDA, Atlantix Engineering <[email protected]>
//-----------------------------------------------------------------------------------

extern crate generate;


extern crate num_traits;


use std::fs::OpenOptions;
use std::io::prelude::*;

Expand Down
18 changes: 1 addition & 17 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
//! The generate module. Contains the primary methods for generating Resistor values.
//! The generate library module. Contains the primary methods for generating Resistor values.
//!
//! The `gen_resistor` crate is tested for rustc 1.8 and greater.
//! The num_traits crate is required, 0.2 and greater.

//pub mod generate;
extern crate num_traits;

Expand Down Expand Up @@ -32,17 +27,6 @@ use self::num_traits::Pow;
///
/// *Note*: One may want to have manuf_1, manuf_2, manuf_3, etc.
///
///
///
///

//-----------------------------------------------------------------------------------
// Licensed under GNU General Public License (GPL).
// Copyright, 206-2020, Atlantix-EDA, Atlantix Engineering <[email protected]>
//-----------------------------------------------------------------------------------


#[derive(Debug, Clone, PartialEq)]
pub struct Resistor {
display: bool,
Expand Down

0 comments on commit be87ea2

Please sign in to comment.