lib.rs: Documentation update
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
15
src/lib.rs
15
src/lib.rs
@@ -1,19 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* advotracker - Hotline tackingtool for Advocats
|
* advotracker - Hotline tackingtool for Advocats
|
||||||
*
|
*
|
||||||
* Copyright 2019 Ralf Zerres <ralf.zerres@networkx.de>
|
* Copyright 2020 Ralf Zerres <ralf.zerres@networkx.de>
|
||||||
* SPDX-License-Identifier: 0BSD, MIT
|
* SPDX-License-Identifier: 0BSD, MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern crate chrono;
|
//#[macro_use]
|
||||||
extern crate dotenv;
|
//extern crate diesel;
|
||||||
#[macro_use]
|
|
||||||
extern crate diesel;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate serde_derive;
|
|
||||||
extern crate serde_json;
|
|
||||||
|
|
||||||
pub mod db;
|
//pub mod db;
|
||||||
|
|
||||||
// This function adds two integers (given as arguments) and returns the sum.
|
// This function adds two integers (given as arguments) and returns the sum.
|
||||||
//
|
//
|
||||||
@@ -45,6 +40,6 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn internal_test() {
|
fn internal_test() {
|
||||||
assert_eq!(8, internal_adder(4, 4));
|
assert_eq!(8, internal_adder(4, 4));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user