Make print_entry() pub to be available in get() implementation

This commit is contained in:
Matthias Beyer 2016-05-27 11:26:06 +02:00
parent a2ea89e936
commit 203e649b4f

View file

@ -35,7 +35,7 @@ pub fn retrieve(rt: &Runtime) {
});
}
fn print_entry(rt: &Runtime, scmd: &ArgMatches, e: FileLockEntry) {
pub fn print_entry(rt: &Runtime, scmd: &ArgMatches, e: FileLockEntry) {
if do_print_raw(scmd) {
debug!("Printing raw content...");
println!("{}", e.to_str());