Skip to content

Commit 4784201

Browse files
committed
main: add some docs
1 parent fa8dc6c commit 4784201

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-gh-example"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
authors = ["MarcoIeni <[email protected]>"]
55
edition = "2018"
66
description = "Example of Rust GitHub template"

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ fn main() {
22
println!("The answer to the ultimate question is {}", answer());
33
}
44

5+
/// Hello from Magrathea
56
fn answer() -> u32 {
67
42
78
}

0 commit comments

Comments
 (0)