Skip to content

gchandra10/hello_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library for demonstration

Usage

    // Cargo.toml

    [dependencies]
    hello_lib = "0.1.6"
    // main.rs

    use hello_lib::hello;

    fn main() {
        println!("{}", hello("Rachel"));
        println!("{}", hello(31));
        println!("{}", hello(3.14));
        println!("{}", hello(true));
        println!("{}", hello('G'));
    }

About

This is a simple crate implementation to demonstrate Generics Function.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages