Skip to content

Commit 27f384d

Browse files
committed
Remove unused parens
1 parent 264f811 commit 27f384d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rayon/set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ where
497497
}
498498

499499
/// Requires crate feature `"rayon"`.
500-
impl<T, S> ParallelExtend<(T)> for IndexSet<T, S>
500+
impl<T, S> ParallelExtend<T> for IndexSet<T, S>
501501
where
502502
T: Eq + Hash + Send,
503503
S: BuildHasher + Send,

src/set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ where
328328
}
329329

330330
/// Return item index
331-
pub fn entry_index<Q: ?Sized>(&self, value: &Q) -> Option<(usize)>
331+
pub fn entry_index<Q: ?Sized>(&self, value: &Q) -> Option<usize>
332332
where
333333
Q: Hash + Equivalent<T>,
334334
{

0 commit comments

Comments
 (0)