fix(imports + signature): change imports and removed return type () from function signature
This commit is contained in:
parent
b3678c43c4
commit
b12be95959
|
@ -1,9 +1,9 @@
|
||||||
use gtk4 as gtk;
|
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::*, *};
|
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 (iter_start, iter_end) = input.buffer().bounds();
|
||||||
let parsed_input: String = input
|
let parsed_input: String = input
|
||||||
.buffer()
|
.buffer()
|
||||||
|
|
Loading…
Reference in New Issue