fix(imports + signature): change imports and removed return type () from function signature

This commit is contained in:
doryan 2024-07-19 23:25:41 +04:00
parent b3678c43c4
commit b12be95959

View File

@ -1,9 +1,9 @@
use gtk4 as gtk;
use crate::{model::model::*, model_utils::hamming_code_seven_four::*};
use crate::{model::models::*, model_utils::hamming_code_seven_four::*};
use gtk::{prelude::*, *};
pub fn start_hamming_algorithm(input: &TextView, output: &TextView, mode: bool) -> () {
pub fn start_hamming_algorithm(input: &TextView, output: &TextView, mode: bool) {
let (iter_start, iter_end) = input.buffer().bounds();
let parsed_input: String = input
.buffer()