added build status to readme

This commit is contained in:
Carl Fredrik Samson
2020-01-25 20:28:57 +01:00
parent e14a8f0743
commit bb6d1749c4
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ dynamic dispatch.
Let's explain this in code instead of words by implementing our own trait
object from these parts:
```rust, editable
```rust
// A reference to a trait object is a fat pointer: (data_ptr, vtable_ptr)
trait Test {
fn add(&self) -> i32;

View File

@@ -133,7 +133,7 @@ impl Drop for Reactor {
}
```
```rust, editable
```rust,editable
use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::mpsc::{channel, Sender};
use std::sync::{Arc, Mutex};