Remove inline on non-public functions

This commit is contained in:
Wojciech Kozlowski 2018-12-30 21:34:40 +08:00
parent fa851520f8
commit 87b9b4a541

View File

@ -27,7 +27,6 @@ use std::path::PathBuf;
use chrono::prelude::*;
/// Read the contents of the file base/filename and return as a String.
#[inline]
fn read_file(base: &PathBuf, filename: &str) -> io::Result<String> {
let mut file = File::open(base.join(filename))?;
let mut contents = String::new();