From: Ralf Jung Date: Mon, 8 Jun 2015 12:10:06 +0000 (+0200) Subject: fix the script X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/231a88af0700e47c79f2e900323792ec91c41530?ds=sidebyside;hp=a5db8629923dd434f3829f1a616764aa4170d67f fix the script --- diff --git a/push-docs b/push-docs old mode 100644 new mode 100755 index 7a6dc60..8f86eed --- a/push-docs +++ b/push-docs @@ -1,7 +1,7 @@ #!/bin/bash set -e -cd "$(dirname "$0"))" +cd "$(dirname "$0")" ./pycco-rs src/*.rs cd docs git add . diff --git a/src/part00.rs b/src/part00.rs index 585df9b..73fe8c1 100644 --- a/src/part00.rs +++ b/src/part00.rs @@ -4,6 +4,10 @@ // ================= +pub fn read_vec() -> Vec { + vec![0,1,2,3,4] +} + pub fn part_main() { diff --git a/src/part01.rs b/src/part01.rs index c4c21c5..716a641 100644 --- a/src/part01.rs +++ b/src/part01.rs @@ -3,10 +3,6 @@ // Rust-101, Part 00 // ================= -pub fn read_vec() -> Vec { - vec![0,1,2,3,4] -} - pub fn part_main() { }