Skip to content

Commit c7450a6

Browse files
committed
docs(data-structures): enable lint warnings on missing docs, and add missing doc comments
1 parent 5d74537 commit c7450a6

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
//! Data structures used across other oxc crates.
2+
#![warn(missing_docs)]
13
pub mod stack;

crates/oxc_data_structures/src/stack/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
//! Contains the following FILO data structures:
2+
//! - [`Stack`]: A growable stack
3+
//! - [`SparseStack`]: A stack that can have empty entries
4+
//! - [`NonEmptyStack`]: A growable stack that can never be empty, allowing for more efficient
5+
//! operations
16
mod capacity;
27
mod common;
38
mod non_empty;

crates/oxc_span/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! Source positions and related helper functions.
22
//!
33
//! <https://doc.rust-lang.org/beta/nightly-rustc/rustc_span>
4-
#![warn(missing_docs)]
54
65
mod atom;
76
mod compact_str;

0 commit comments

Comments
 (0)