File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -892,10 +892,11 @@ impl SourceMap {
892
892
/// * You modify `foo.js` in some way and generate a sourcemap `transform.js.map`
893
893
/// representing this modification. This can be done using `magic-string`, for example.
894
894
/// * You want a sourcemap that is "like" `foo.js.map`, but takes the changes you made to `foo.js` into account.
895
+ ///
895
896
/// Then `foo.js.map.adjust_mappings(transform.js.map)` is the desired sourcemap.
896
897
///
897
898
/// This function assumes that `adjustment` contains no relevant information except for mappings.
898
- /// All information about sources and names is copied from `self`.
899
+ /// All information about sources and names is copied from `self`.
899
900
///
900
901
/// Note that the resulting sourcemap will be at most as fine-grained as `self.`.
901
902
pub fn adjust_mappings ( & mut self , adjustment : & Self ) {
You can’t perform that action at this time.
0 commit comments