Skip to content
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 rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.88.0
1.89.0
2 changes: 1 addition & 1 deletion src/hardlink/hardlink_list/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct Iter<'a, Size>(DashIter<'a, InodeNumber, Value<Size>>);

impl<Size> HardlinkList<Size> {
/// Iterate over the recorded entries.
pub fn iter(&self) -> Iter<Size> {
pub fn iter(&self) -> Iter<'_, Size> {
self.0.iter().pipe(Iter)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/hardlink/hardlink_list/summary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ impl<Size: size::Size> Display for SummaryDisplay<'_, Size> {
impl<Size: size::Size> Summary<Size> {
/// Turns this [`Summary`] into something [displayable](Display).
#[inline]
pub fn display(&self, format: Size::DisplayFormat) -> SummaryDisplay<Size> {
pub fn display(&self, format: Size::DisplayFormat) -> SummaryDisplay<'_, Size> {
SummaryDisplay {
format,
summary: self,
Expand Down
2 changes: 1 addition & 1 deletion src/hardlink/link_path_list/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct Iter<'a>(slice::Iter<'a, PathBuf>);

impl LinkPathList {
/// Iterate over the paths inside the list.
pub fn iter(&self) -> Iter {
pub fn iter(&self) -> Iter<'_> {
self.0.iter().pipe(Iter)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/visualizer/methods/initial_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub(super) type InitialTable<Name, NodeData> =
Table<InitialRow<Name, NodeData>, InitialColumnWidth>;

pub(super) fn render_initial<Name, Size>(
visualizer: Visualizer<Name, Size>,
visualizer: Visualizer<'_, Name, Size>,
) -> InitialTable<&'_ Name, Size>
where
Name: Display,
Expand Down
Loading