mirror of
https://github.com/Wojtek242/rwmstatus.git
synced 2024-11-21 23:25:26 +01:00
Remove inline on non-public functions
This commit is contained in:
parent
fa851520f8
commit
87b9b4a541
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user