Fix typos

This commit is contained in:
Yuriy Dupyn 2023-12-28 09:27:55 +01:00
parent 84d9fa2d50
commit eb8410718d
2 changed files with 5 additions and 4 deletions

View file

@ -11,9 +11,9 @@ use proto::writer::oneway::OneWayProtoWriter;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let add = "127.0.0.1:5432";
let addr = "127.0.0.1:5432";
let mut stream = TcpStream::connect(add).await?;
let mut stream = TcpStream::connect(addr).await?;
let (reader, writer) = stream.split();
let mut writer = ProtoWriter::new(BufWriter::new(writer));