Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix cargo doc lint warnings #64

Merged
merged 1 commit into from
Nov 28, 2023
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
2 changes: 1 addition & 1 deletion src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub fn stream_chunks_default<S: Source>(
}
}

/// [GeneratedSourceInfo] abstraction, see [webpack-sources GeneratedSourceInfo](https://github.com/webpack/webpack-sources/blob/9f98066311d53a153fdc7c633422a1d086528027/lib/helpers/getGeneratedSourceInfo.js)
/// `GeneratedSourceInfo` abstraction, see [webpack-sources GeneratedSourceInfo](https://github.com/webpack/webpack-sources/blob/9f98066311d53a153fdc7c633422a1d086528027/lib/helpers/getGeneratedSourceInfo.js)
#[derive(Debug)]
pub struct GeneratedInfo {
/// Generated line
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub use source_map_source::{
SourceMapSource, SourceMapSourceOptions, WithoutOriginalOptions,
};

/// Reexport [StreamChunks] related types.
/// Reexport `StreamChunks` related types.
pub mod stream_chunks {
pub use super::helpers::{
stream_chunks_default, GeneratedInfo, OnChunk, OnName, OnSource,
Expand Down
4 changes: 2 additions & 2 deletions src/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::{
Result,
};

/// An alias for [Box<dyn Source>].
/// An alias for `Box<dyn Source>`.
pub type BoxSource = Arc<dyn Source>;

/// [Source] abstraction, [webpack-sources docs](https://github.com/webpack/webpack-sources/#source).
Expand Down Expand Up @@ -147,7 +147,7 @@ impl<T: Source + 'static> SourceExt for T {
pub struct MapOptions {
/// Whether have columns info in generated [SourceMap] mappings.
pub columns: bool,
/// Whether the source will have changes, internal used for [ReplaceSource], etc.
/// Whether the source will have changes, internal used for `ReplaceSource`, etc.
pub(crate) final_source: bool,
}

Expand Down
Loading