1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-09-04 06:45:50 +03:00
Этот коммит содержится в:
fritzrehde
2023-10-30 11:47:56 +01:00
родитель 60a57b3899
Коммит addf3e9656
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@@ -300,7 +300,7 @@ let mut textarea = TextArea::from([
// Create `TextArea` from `String`
let mut text: String = ...;
let mut textarea = TextARea::from(text.lines());
let mut textarea = TextArea::from(text.lines());
```
`TextArea` also implements `FromIterator<impl Into<String>>`. `Iterator::collect()` can collect strings as an editor