diff --git a/src/helpers.rs b/src/helpers.rs index bcff68a..0a4c9f3 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -119,7 +119,7 @@ pub fn stream_chunks_default( } } -/// [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 diff --git a/src/lib.rs b/src/lib.rs index 2fd182e..e1b08a1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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, diff --git a/src/source.rs b/src/source.rs index c7a901d..8c9d77b 100644 --- a/src/source.rs +++ b/src/source.rs @@ -15,7 +15,7 @@ use crate::{ Result, }; -/// An alias for [Box]. +/// An alias for `Box`. pub type BoxSource = Arc; /// [Source] abstraction, [webpack-sources docs](https://github.com/webpack/webpack-sources/#source). @@ -147,7 +147,7 @@ impl 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, }