Fix no_function feature.

This commit is contained in:
Stephen Chung
2022-02-26 17:41:27 +08:00
parent 9ef522b699
commit e767731953
3 changed files with 11 additions and 11 deletions

View File

@@ -7,15 +7,6 @@ use crate::{Identifier, StaticVec};
use std::prelude::v1::*;
use std::{fmt, hash::Hash};
/// A type representing the access mode of a function.
#[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub enum FnAccess {
/// Private function.
Private,
/// Public function.
Public,
}
/// _(internals)_ Encapsulated AST environment.
/// Exported under the `internals` feature only.
///