Skip to content

Commit

Permalink
Fix readme syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
scratchyone committed Jan 6, 2021
1 parent c8d9587 commit 1e58576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
This crate offers 2 (wasm-only) websocket clients.
The first client offered is the `EventClient`. This client is event based and gives you the most control.

```rs
```rust
use console_error_panic_hook;
use console_log;
use log::{error, info, Level};
Expand Down Expand Up @@ -47,7 +47,7 @@ The second client offered is the `PollingClient`. This client is ideal for games
This client is also much simpler than the `EventClient`. However, you can access the main `EventClient` that it is using
if you want access to lower level control.

```rs
```rust
use console_error_panic_hook;
use log::{info, Level};
use std::cell::RefCell;
Expand Down

0 comments on commit 1e58576

Please sign in to comment.