Update README.md
This commit is contained in:
parent
da416af686
commit
2ceffe44e1
@ -13,7 +13,7 @@ fn main() {
|
|||||||
|
|
||||||
If you wish to ensure the `output_vt100::init()` function is only ran once, you can use the crate [ctor](https://crates.io/crates/ctor). Be aware though it might not be suited for every use case, as explained on the crate’s presentation.
|
If you wish to ensure the `output_vt100::init()` function is only ran once, you can use the crate [ctor](https://crates.io/crates/ctor). Be aware though it might not be suited for every use case, as explained on the crate’s presentation.
|
||||||
|
|
||||||
```
|
```rust
|
||||||
extern crate output_vt100;
|
extern crate output_vt100;
|
||||||
extern crate ctor;
|
extern crate ctor;
|
||||||
use ctor::*;
|
use ctor::*;
|
||||||
|
Loading…
Reference in New Issue
Block a user