docs(data-structures): enable lint warnings on missing docs, and add missing doc comments (#6612)

Part of https://github.com/oxc-project/backlog/issues/130
This commit is contained in:
DonIsaac 2024-10-15 22:50:46 +00:00
parent 335b7f22c5
commit de22b81b83
3 changed files with 7 additions and 1 deletions

View file

@ -1 +1,3 @@
//! Data structures used across other oxc crates.
#![warn(missing_docs)]
pub mod stack;

View file

@ -1,3 +1,8 @@
//! Contains the following FILO data structures:
//! - [`Stack`]: A growable stack
//! - [`SparseStack`]: A stack that can have empty entries
//! - [`NonEmptyStack`]: A growable stack that can never be empty, allowing for more efficient
//! operations
mod capacity;
mod common;
mod non_empty;

View file

@ -1,7 +1,6 @@
//! Source positions and related helper functions.
//!
//! <https://doc.rust-lang.org/beta/nightly-rustc/rustc_span>
#![warn(missing_docs)]
mod atom;
mod compact_str;