Skip to content

lfs_pointer: simplify comparison of str and String

Avoid relying on auto-deref to compare a &str and a String by using an explicit .as_str(). Auto-deref may not deref enough times when another PartialOrd trait impl is in scope.

Merge request reports

Loading