conlang: Misc. doc fixes

This commit is contained in:
John 2024-04-24 20:05:55 -05:00
parent d4432cda7a
commit aa3f357fca
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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;