mirror of
https://gitlab.com/arnekeller/ascii-table.git
synced 2024-12-04 21:49:08 +00:00
save game
This commit is contained in:
parent
72af1f2db0
commit
020efce014
@ -383,9 +383,8 @@ impl SmartString {
|
|||||||
Self { fragments }
|
Self { fragments }
|
||||||
}
|
}
|
||||||
|
|
||||||
fn from_visible<T>(string: T) -> Self
|
fn from_visible(string: String) -> Self {
|
||||||
where T: Display {
|
Self { fragments: vec![(true, string)] }
|
||||||
Self { fragments: vec![(true, string.to_string())] }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn char_len(&self) -> usize {
|
fn char_len(&self) -> usize {
|
||||||
|
Loading…
Reference in New Issue
Block a user