Skip to content

Commit

Permalink
mut
Browse files Browse the repository at this point in the history
  • Loading branch information
gerdoe-jr committed Jun 3, 2021
1 parent d7f3e5c commit b3afaa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "tw-econ"
version = "0.4.3"
version = "0.4.4"
authors = ["Vlad <gerdoexx@gmail.com>"]
edition = "2018"
license = "MIT"
readme = "README.md"
keywords = ["teeworlds", "console"]
categories = ["command-line-interface", "api-bindings"]
repository = "https://github.com/gerdoe-jr/tw-econ"
description = "Simple Rust library for using Teeworlds external console"
description = "Simple Rust library to use Teeworlds external console"

[dependencies]
sscanf = "0.1.1"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ impl EconConnection {
tokio::spawn(async move {
let addr = address.clone();
let mut password = password; password.push('\n');
let stream = match TcpStream::connect(addr) {
Ok(s) => {
let mut stream = match TcpStream::connect(addr) {
Ok(mut s) => {
let mut found = false;
while !found {
let mut buffer: [u8; 1024] = [0; 1024];
Expand Down

0 comments on commit b3afaa8

Please sign in to comment.