diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-09-21 18:10:45 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-09-21 18:11:43 -0700 |
| commit | dffe188991325b4e803fdd0da7c1563ce0fa27f4 (patch) | |
| tree | e8f65929b804a38550dc9fdcf24021e6a7920304 /src/libcore/send_map.rs | |
| parent | 60443d48881bfbc7a305e807390e74b327f100b8 (diff) | |
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
Diffstat (limited to 'src/libcore/send_map.rs')
| -rw-r--r-- | src/libcore/send_map.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/send_map.rs b/src/libcore/send_map.rs index 5dfc1f64367..2a010ee4712 100644 --- a/src/libcore/send_map.rs +++ b/src/libcore/send_map.rs @@ -28,6 +28,7 @@ trait SendMap<K:Eq Hash, V: Copy> { /// Open addressing with linear probing. mod linear { + #[legacy_exports]; export LinearMap, linear_map, linear_map_with_capacity, public_methods; const initial_capacity: uint = 32u; // 2^5 @@ -362,6 +363,7 @@ mod linear { #[test] mod test { + #[legacy_exports]; use linear::LinearMap; |
