summaryrefslogtreecommitdiff
path: root/src/is_valid_character.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/is_valid_character.rs')
-rw-r--r--src/is_valid_character.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/is_valid_character.rs b/src/is_valid_character.rs
index acec7fb..9e16830 100644
--- a/src/is_valid_character.rs
+++ b/src/is_valid_character.rs
@@ -1,27 +1,28 @@
/*
Copyright 2023 Gabriel Jensen.
- This file is part of aas.
+ This file is part of AAS.
- aas is free software: you can redistribute it
+ AAS is free software: you can redistribute it
and/or modify it under the terms of the GNU
General Public License as published by the Free
Software Foundation, either version 3 of the
License, or (at your option) any later version.
- aas is distributed in the hope that it will
+ AAS is distributed in the hope that it will
be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU
- General Public License along with aas. If not,
+ General Public License along with AAS. If not,
see <https://www.gnu.org/licenses/>.
*/
pub fn is_valid_character(c: char) -> bool {
return match c {
+ | '\0'
| '\t'
| '\n'
| ' '