Skip to content

Commit dfe2496

Browse files
committed
run fmt
1 parent e5b8e9e commit dfe2496

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/map.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl<K, V> HashMap<K, V, DefaultHashBuilder> {
291291
/// is first inserted into.
292292
///
293293
/// # HashDoS resistance
294-
///
294+
///
295295
/// The `hash_builder` normally use a fixed key by default and that does
296296
/// not allow the `HashMap` to be protected against attacks such as [`HashDoS`].
297297
/// Users who require HashDoS resistance should explicitly use
@@ -321,7 +321,7 @@ impl<K, V> HashMap<K, V, DefaultHashBuilder> {
321321
/// reallocating. If `capacity` is 0, the hash map will not allocate.
322322
///
323323
/// # HashDoS resistance
324-
///
324+
///
325325
/// The `hash_builder` normally use a fixed key by default and that does
326326
/// not allow the `HashMap` to be protected against attacks such as [`HashDoS`].
327327
/// Users who require HashDoS resistance should explicitly use
@@ -354,7 +354,7 @@ impl<K, V, A: Allocator + Clone> HashMap<K, V, DefaultHashBuilder, A> {
354354
/// is first inserted into.
355355
///
356356
/// # HashDoS resistance
357-
///
357+
///
358358
/// The `hash_builder` normally use a fixed key by default and that does
359359
/// not allow the `HashMap` to be protected against attacks such as [`HashDoS`].
360360
/// Users who require HashDoS resistance should explicitly use
@@ -405,7 +405,7 @@ impl<K, V, A: Allocator + Clone> HashMap<K, V, DefaultHashBuilder, A> {
405405
/// reallocating. If `capacity` is 0, the hash map will not allocate.
406406
///
407407
/// # HashDoS resistance
408-
///
408+
///
409409
/// The `hash_builder` normally use a fixed key by default and that does
410410
/// not allow the `HashMap` to be protected against attacks such as [`HashDoS`].
411411
/// Users who require HashDoS resistance should explicitly use
@@ -464,7 +464,7 @@ impl<K, V, S> HashMap<K, V, S> {
464464
/// allocate until it is first inserted into.
465465
///
466466
/// # HashDoS resistance
467-
///
467+
///
468468
/// The `hash_builder` normally use a fixed key by default and that does
469469
/// not allow the `HashMap` to be protected against attacks such as [`HashDoS`].
470470
/// Users who require HashDoS resistance should explicitly use
@@ -506,7 +506,7 @@ impl<K, V, S> HashMap<K, V, S> {
506506
/// reallocating. If `capacity` is 0, the hash map will not allocate.
507507
///
508508
/// # HashDoS resistance
509-
///
509+
///
510510
/// The `hash_builder` normally use a fixed key by default and that does
511511
/// not allow the `HashMap` to be protected against attacks such as [`HashDoS`].
512512
/// Users who require HashDoS resistance should explicitly use
@@ -556,7 +556,7 @@ impl<K, V, S, A: Allocator + Clone> HashMap<K, V, S, A> {
556556
/// is first inserted into.
557557
///
558558
/// # HashDoS resistance
559-
///
559+
///
560560
/// The `hash_builder` normally use a fixed key by default and that does
561561
/// not allow the `HashMap` to be protected against attacks such as [`HashDoS`].
562562
/// Users who require HashDoS resistance should explicitly use
@@ -591,7 +591,7 @@ impl<K, V, S, A: Allocator + Clone> HashMap<K, V, S, A> {
591591
/// reallocating. If `capacity` is 0, the hash map will not allocate.
592592
///
593593
/// # HashDoS resistance
594-
///
594+
///
595595
/// The `hash_builder` normally use a fixed key by default and that does
596596
/// not allow the `HashMap` to be protected against attacks such as [`HashDoS`].
597597
/// Users who require HashDoS resistance should explicitly use

src/set.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ impl<T> HashSet<T, DefaultHashBuilder> {
137137
/// is first inserted into.
138138
///
139139
/// # HashDoS resistance
140-
///
140+
///
141141
/// The `hash_builder` normally use a fixed key by default and that does
142142
/// not allow the `HashSet` to be protected against attacks such as [`HashDoS`].
143143
/// Users who require HashDoS resistance should explicitly use
@@ -167,7 +167,7 @@ impl<T> HashSet<T, DefaultHashBuilder> {
167167
/// reallocating. If `capacity` is 0, the hash set will not allocate.
168168
///
169169
/// # HashDoS resistance
170-
///
170+
///
171171
/// The `hash_builder` normally use a fixed key by default and that does
172172
/// not allow the `HashSet` to be protected against attacks such as [`HashDoS`].
173173
/// Users who require HashDoS resistance should explicitly use
@@ -201,7 +201,7 @@ impl<T: Hash + Eq, A: Allocator + Clone> HashSet<T, DefaultHashBuilder, A> {
201201
/// is first inserted into.
202202
///
203203
/// # HashDoS resistance
204-
///
204+
///
205205
/// The `hash_builder` normally use a fixed key by default and that does
206206
/// not allow the `HashSet` to be protected against attacks such as [`HashDoS`].
207207
/// Users who require HashDoS resistance should explicitly use
@@ -231,7 +231,7 @@ impl<T: Hash + Eq, A: Allocator + Clone> HashSet<T, DefaultHashBuilder, A> {
231231
/// reallocating. If `capacity` is 0, the hash set will not allocate.
232232
///
233233
/// # HashDoS resistance
234-
///
234+
///
235235
/// The `hash_builder` normally use a fixed key by default and that does
236236
/// not allow the `HashSet` to be protected against attacks such as [`HashDoS`].
237237
/// Users who require HashDoS resistance should explicitly use
@@ -439,7 +439,7 @@ impl<T, S> HashSet<T, S, Global> {
439439
/// allocate until it is first inserted into.
440440
///
441441
/// # HashDoS resistance
442-
///
442+
///
443443
/// The `hash_builder` normally use a fixed key by default and that does
444444
/// not allow the `HashSet` to be protected against attacks such as [`HashDoS`].
445445
/// Users who require HashDoS resistance should explicitly use
@@ -477,7 +477,7 @@ impl<T, S> HashSet<T, S, Global> {
477477
/// reallocating. If `capacity` is 0, the hash set will not allocate.
478478
///
479479
/// # HashDoS resistance
480-
///
480+
///
481481
/// The `hash_builder` normally use a fixed key by default and that does
482482
/// not allow the `HashSet` to be protected against attacks such as [`HashDoS`].
483483
/// Users who require HashDoS resistance should explicitly use
@@ -526,7 +526,7 @@ where
526526
/// allocate until it is first inserted into.
527527
///
528528
/// # HashDoS resistance
529-
///
529+
///
530530
/// The `hash_builder` normally use a fixed key by default and that does
531531
/// not allow the `HashSet` to be protected against attacks such as [`HashDoS`].
532532
/// Users who require HashDoS resistance should explicitly use
@@ -564,7 +564,7 @@ where
564564
/// reallocating. If `capacity` is 0, the hash set will not allocate.
565565
///
566566
/// # HashDoS resistance
567-
///
567+
///
568568
/// The `hash_builder` normally use a fixed key by default and that does
569569
/// not allow the `HashSet` to be protected against attacks such as [`HashDoS`].
570570
/// Users who require HashDoS resistance should explicitly use

0 commit comments

Comments
 (0)