diff options
author | Teddy Wing | 2017-11-08 00:48:41 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-08 00:48:41 +0100 |
commit | 8dc9f6de2c227a43d9baf6d41299c9e2ac365789 (patch) | |
tree | 3901add322fe8d0b9cdc50cc3791c7105e7c75f4 /src/pull_request.rs | |
parent | 7144ae81c8d8308b30a8806370e11a35568ebe51 (diff) | |
download | kipper-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.
Diffstat (limited to 'src/pull_request.rs')
-rw-r--r-- | src/pull_request.rs | 8 |
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 { |