Skip to content
Open
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
4 changes: 2 additions & 2 deletions wasm-mappings/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ impl<O: Observer> Mappings<O> {
/// Iterate over all mappings that contain original location information,
/// sorted by their original location information.
#[inline]
pub fn by_original_location(&mut self) -> ByOriginalLocation<O::SortByOriginalLocation> {
pub fn by_original_location(&mut self) -> ByOriginalLocation<'_, O::SortByOriginalLocation> {
ByOriginalLocation {
buckets: self.source_buckets().iter_mut(),
this_bucket: [].iter(),
Expand Down Expand Up @@ -389,7 +389,7 @@ impl<O: Observer> Mappings<O> {
source: u32,
original_line: u32,
original_column: Option<u32>,
) -> AllGeneratedLocationsFor {
) -> AllGeneratedLocationsFor<'_> {
let _observer = O::AllGeneratedLocationsFor::default();

let query_column = original_column.unwrap_or(0);
Expand Down