From 231a88af0700e47c79f2e900323792ec91c41530 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 8 Jun 2015 14:10:06 +0200 Subject: [PATCH] fix the script --- push-docs | 2 +- src/part00.rs | 4 ++++ src/part01.rs | 4 ---- 3 files changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 push-docs 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() { } -- 2.30.2