remove fortune trimming as it breaks ascii art
This commit is contained in:
parent
f88979e95a
commit
cca285839c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ pub fn get_random_from_vec(vector: Vec<String>) -> Option<String> {
|
||||||
}
|
}
|
||||||
let random_element = rand::thread_rng().gen_range(0, length);
|
let random_element = rand::thread_rng().gen_range(0, length);
|
||||||
|
|
||||||
Some(vector.get(random_element).unwrap().trim().to_owned())
|
Some(vector.get(random_element).unwrap().to_owned())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn own_vec(input: Vec<&str>) -> Vec<String> {
|
pub fn own_vec(input: Vec<&str>) -> Vec<String> {
|
||||||
|
|
Loading…
Reference in a new issue