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 committed 2024-10-15 22:50:47 +00:00
1 parent 335b7f22c5
commit de22b81b83
3 files changed
+7 -1

No files matched your search

+2
View File
@@ -1 +1,3 @@
//! Data structures used across other oxc crates.
#![warn(missing_docs)]
pub mod stack;
@@ -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;
-1
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;