second_class 0.1.0

A library to add two numbers
Documentation


/// Adds two numbers together.
///
/// # Examples
///
/// ```
/// let sum = second_class::add(2, 3);
/// assert_eq!(sum, 5);
/// ```
pub fn add(a: i32, b: i32) -> i32 {
    a + b
}

// cargo new cargo_demo
   //cargo add --help
   //cargo publish --help
   // 
   //
   //
   //
   //
   //

   /*
   carte publishing
   cargo doc --open

   https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html
   
   cargo build --release 

   login with github

   go to settings

   create a token 

   copy token

   cargo login copy tokan

    */