Rename private functions to match rename of Term to Ident
diff --git a/src/fallback.rs b/src/fallback.rs
index 928c747..05fe8ed 100644
--- a/src/fallback.rs
+++ b/src/fallback.rs
@@ -523,7 +523,7 @@
impl Ident {
fn _new(string: &str, raw: bool, span: Span) -> Ident {
- validate_term(string);
+ validate_ident(string);
Ident {
sym: string.to_owned(),
@@ -566,7 +566,7 @@
|| (c > '\x7f' && UnicodeXID::is_xid_continue(c))
}
-fn validate_term(string: &str) {
+fn validate_ident(string: &str) {
let validate = string;
if validate.is_empty() {
panic!("Ident is not allowed to be empty; use Option<Ident>");