Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs(data-structures): enable lint warnings on missing docs, and add …
…missing doc comments (#6612)

Part of oxc-project/backlog#130
  • Loading branch information
DonIsaac committed Oct 15, 2024
commit de22b81b83ab500ac2f7b21652e1612ff4c10279
2 changes: 2 additions & 0 deletions crates/oxc_data_structures/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
//! Data structures used across other oxc crates.
#![warn(missing_docs)]
pub mod stack;
5 changes: 5 additions & 0 deletions crates/oxc_data_structures/src/stack/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_span/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down