mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Update readme example imports
This commit is contained in:
parent
6d6932a008
commit
dedacd4912
@ -8,7 +8,8 @@ It is designed to be safe and easy to use:
|
|||||||
```rust
|
```rust
|
||||||
extern crate cursive;
|
extern crate cursive;
|
||||||
|
|
||||||
use cursive::{Cursive,Dialog,TextView};
|
use cursive::Cursive;
|
||||||
|
use cursive::view::{Dialog,TextView};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let mut siv = Cursive::new();
|
let mut siv = Cursive::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user