Update mod.rs

This commit is contained in:
Shunsuke Shibayama 2022-10-06 15:42:46 +09:00
parent 154b56b2a7
commit d9460b78c1

View file

@ -327,9 +327,9 @@ impl MethodType {
/// Recursive functions/methods are highlighted with the prefix `rec_`, as performance may be significantly degraded. /// Recursive functions/methods are highlighted with the prefix `rec_`, as performance may be significantly degraded.
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub struct Context { pub struct Context {
pub(crate) name: Str, pub name: Str,
pub kind: ContextKind,
pub(crate) cfg: ErgConfig, pub(crate) cfg: ErgConfig,
pub(crate) kind: ContextKind,
// Type bounds & Predicates (if the context kind is Subroutine) // Type bounds & Predicates (if the context kind is Subroutine)
// ユーザー定義APIでのみ使う // ユーザー定義APIでのみ使う
pub(crate) bounds: Vec<TyBound>, pub(crate) bounds: Vec<TyBound>,