Skip to content

Commit

Permalink
pub(crate) => pub
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimrod committed Nov 30, 2023
1 parent 1164d77 commit bbb7da0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "A structural diff that understands syntax. Based on difftastic, t
repository = "https://github.com/baz-scm/difftastic"
homepage = "https://baz.co/"
license = "GPL-2.0"
version = "0.53.3"
version = "0.53.4"
authors = ["Nimrod Kor <[email protected]>"]
keywords = ["diff", "syntax"]
categories = ["development-tools", "command-line-utilities", "parser-implementations"]
Expand Down
2 changes: 1 addition & 1 deletion src/files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use rustc_hash::FxHashSet;
use crate::exit_codes::EXIT_BAD_ARGUMENTS;
use crate::options::FileArgument;

pub(crate) fn read_file_or_die(path: &FileArgument) -> Vec<u8> {
pub fn read_file_or_die(path: &FileArgument) -> Vec<u8> {
match read_file_arg(path) {
Ok(src) => src,
Err(e) => {
Expand Down
2 changes: 1 addition & 1 deletion src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub(crate) enum DisplayMode {
}

#[derive(Eq, PartialEq, Debug)]
pub(crate) enum FileArgument {
pub enum FileArgument {
NamedPath(PathBuf),
Stdin,
DevNull,
Expand Down

0 comments on commit bbb7da0

Please sign in to comment.