save game

This commit is contained in:
Gerrit Viljoen 2020-05-17 12:38:56 +02:00
parent 72af1f2db0
commit 020efce014

View File

@ -383,9 +383,8 @@ impl SmartString {
Self { fragments }
}
fn from_visible<T>(string: T) -> Self
where T: Display {
Self { fragments: vec![(true, string.to_string())] }
fn from_visible(string: String) -> Self {
Self { fragments: vec![(true, string)] }
}
fn char_len(&self) -> usize {