From 802dab3b1bd931df935bad333a42c48ca6ff9978 Mon Sep 17 00:00:00 2001
From: Dmitry <b4tm4n@mail.ru>
Date: Sat, 24 Sep 2022 01:41:02 +0300
Subject: [PATCH] typo

---
 src/main.rs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index 8773614..46b48ff 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -120,21 +120,21 @@ async fn transcoder_task(
     encoding_to: EncodingRef,
 ) {
     let is_encodings_same = encoding_from.name() == encoding_to.name();
-    let is_src_encodig_native = UTF_8.name() == encoding_from.name();
-    let is_dst_encodig_native = UTF_8.name() == encoding_to.name();
+    let is_src_encoding_native = UTF_8.name() == encoding_from.name();
+    let is_dst_encoding_native = UTF_8.name() == encoding_to.name();
 
     while let Some(FileData { name, data }) = rx.recv().await {
         let new_data = if is_encodings_same {
             data
         } else {
             task::block_in_place(move || {
-                let text = if is_src_encodig_native {
+                let text = if is_src_encoding_native {
                     String::from_utf8(data).unwrap()
                 } else {
                     encoding_from.decode(&data, DecoderTrap::Ignore).unwrap()
                 };
 
-                if is_dst_encodig_native {
+                if is_dst_encoding_native {
                     text.into_bytes()
                 } else {
                     encoding_to