Skip to content

Commit c21d975

Browse files
committed
f dead code
1 parent 6a1ccf8 commit c21d975

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/libstd/collections/hash/table.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,6 @@ impl<K, V> RawBucket<K, V> {
180180
}
181181
}
182182

183-
// Uncomment dead code when it's needed.
184-
185183
// Buckets hold references to the table.
186184
impl<K, V, M> FullBucket<K, V, M> {
187185
/// Borrow a reference to the table.
@@ -203,17 +201,9 @@ impl<K, V, M> EmptyBucket<K, V, M> {
203201
pub fn table(&self) -> &M {
204202
&self.table
205203
}
206-
// /// Move out the reference to the table.
207-
// pub fn into_table(self) -> M {
208-
// self.table
209-
// }
210204
}
211205

212206
impl<K, V, M> Bucket<K, V, M> {
213-
// /// Move out the reference to the table.
214-
// pub fn into_table(self) -> M {
215-
// self.table
216-
// }
217207
/// Get the raw index.
218208
pub fn index(&self) -> usize {
219209
self.idx

0 commit comments

Comments
 (0)