From 8dc9f6de2c227a43d9baf6d41299c9e2ac365789 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 8 Nov 2017 00:48:41 +0100 Subject: 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. --- src/pull_request.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 { -- cgit v1.2.3