From 1e585762ed7c116a40c9cb4ab7683b3ca01abe93 Mon Sep 17 00:00:00 2001 From: scratchyone <scratchywon@gmail.com> Date: Wed, 6 Jan 2021 10:32:27 -0500 Subject: [PATCH] Fix readme syntax highlighting --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 672004c..eaa10c2 100644 --- a/Readme.md +++ b/Readme.md @@ -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}; @@ -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; -- GitLab