Remove unnecessary borrow (#30)
This commit is contained in:
parent
d268d4ca13
commit
0b8e237280
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ impl<'a, T: DiffableStr + ?Sized> DiffableStrRef for Cow<'a, T> {
|
|||
type Output = T;
|
||||
|
||||
fn as_diffable_str(&self) -> &T {
|
||||
&self
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue