aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-11-08 00:48:41 +0100
committerTeddy Wing2017-11-08 00:48:41 +0100
commit8dc9f6de2c227a43d9baf6d41299c9e2ac365789 (patch)
tree3901add322fe8d0b9cdc50cc3791c7105e7c75f4
parent7144ae81c8d8308b30a8806370e11a35568ebe51 (diff)
downloadkipper-8dc9f6de2c227a43d9baf6d41299c9e2ac365789.tar.bz2
pull_request.rs: Make `CommitRef` public
I had forgotten I needed to make the struct and its fields public. We need this to be able to use it outside of the module.
-rw-r--r--src/pull_request.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pull_request.rs b/src/pull_request.rs
index 47b1eab..0766085 100644
--- a/src/pull_request.rs
+++ b/src/pull_request.rs
@@ -2,10 +2,10 @@ extern crate json;
#[derive(Debug)]
-struct CommitRef {
- repo: String,
- sha: String,
- branch: String,
+pub struct CommitRef {
+ pub repo: String,
+ pub sha: String,
+ pub branch: String,
}
impl CommitRef {