From aa3f357fca5b3e131b3e0a58b738e1a397909802 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 24 Apr 2024 20:05:55 -0500 Subject: [PATCH] conlang: Misc. doc fixes --- compiler/cl-parser/src/inliner.rs | 4 ++-- compiler/cl-typeck/src/def_item.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/cl-parser/src/inliner.rs b/compiler/cl-parser/src/inliner.rs index a4ba70b..73602fb 100644 --- a/compiler/cl-parser/src/inliner.rs +++ b/compiler/cl-parser/src/inliner.rs @@ -5,8 +5,8 @@ use cl_ast::{ast_visitor::Fold, *}; use cl_lexer::Lexer; use std::path::{Path, PathBuf}; -type IoErrs = Vec<(PathBuf, std::io::Error)>; -type ParseErrs = Vec<(PathBuf, crate::error::Error)>; +pub type IoErrs = Vec<(PathBuf, std::io::Error)>; +pub type ParseErrs = Vec<(PathBuf, crate::error::Error)>; pub struct ModuleInliner { path: PathBuf, diff --git a/compiler/cl-typeck/src/def_item.rs b/compiler/cl-typeck/src/def_item.rs index ad6bcbf..f26ba56 100644 --- a/compiler/cl-typeck/src/def_item.rs +++ b/compiler/cl-typeck/src/def_item.rs @@ -4,7 +4,7 @@ //! //! [DefItem]s are collected by the [Definition Sorcerer](sorcerer), //! an AST visitor that pairs [DefSource]s with their surrounding -//! context ([Path], [Span], [Meta], [Visibility]) +//! context ([Path], [struct@Span], [Meta], [Visibility]) use cl_ast::ast::*; use cl_structures::span::Span;