mirror of
https://gitlab.com/arnekeller/ascii-table.git
synced 2024-12-04 13:39:06 +00:00
save game
This commit is contained in:
parent
72af1f2db0
commit
020efce014
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user