Skip to content

Commit 34319d8

Browse files
committed
Merge pull request clog-tool#9 from semantic-rs/public-raw-parsing
fix: Make parse_raw_commit public
2 parents 7a65cfd + 4510296 commit 34319d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/clog.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,8 @@ impl Clog {
782782
.collect()
783783
}
784784

785-
fn parse_raw_commit(&self, commit_str: &str) -> Commit {
785+
#[doc(hidden)]
786+
pub fn parse_raw_commit(&self, commit_str: &str) -> Commit {
786787
let mut lines = commit_str.lines();
787788

788789
let hash = lines.next().unwrap_or("").to_owned();

0 commit comments

Comments
 (0)