aboutsummaryrefslogtreecommitdiff
path: root/src/text/txt.rs
blob: 14e742252f049fd9e9081280c605a09bdffd8280 (plain)
1
2
3
4
5
use std::fs;

pub fn get_text(path : &str) -> String {
    fs::read_to_string(path).unwrap_or_default()
}