some changes

This commit is contained in:
Leo
2024-04-11 16:32:41 +02:00
parent bae3e38318
commit a70c4a1990
2 changed files with 6 additions and 6 deletions
-4
View File
@@ -115,10 +115,6 @@ const SYNTAX: [Node; 15] = [
}
];
fn remove_first_char(value: &str) -> String {
value.chars().skip(1).collect()
}
fn get_first_char(value: &str) -> String {
value.chars().next().unwrap().to_string()
}