diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-21 23:01:48 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-21 23:01:48 +0200 |
| commit | 85def307fc83f8c0d164b1506bb855dfaed5f8b5 (patch) | |
| tree | fee12b5068761cb42998537c029e287a4d325619 /src/liballoc/tests | |
| parent | 8bbf1abd0ec903ff4408238e86d712aeba1cbd7f (diff) | |
| download | rust-85def307fc83f8c0d164b1506bb855dfaed5f8b5.tar.gz rust-85def307fc83f8c0d164b1506bb855dfaed5f8b5.zip | |
shared_from_iter: Polish internal docs.
Diffstat (limited to 'src/liballoc/tests')
| -rw-r--r-- | src/liballoc/tests/arc.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/tests/arc.rs b/src/liballoc/tests/arc.rs index ce64e2de013..cf2ad2a8e60 100644 --- a/src/liballoc/tests/arc.rs +++ b/src/liballoc/tests/arc.rs @@ -88,6 +88,8 @@ fn eq() { assert_eq!(*x.0.borrow(), 0); } +// The test code below is identical to that in `rc.rs`. +// For better maintainability we therefore define this type alias. type Rc<T> = Arc<T>; const SHARED_ITER_MAX: u16 = 100; |
