diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-08-09 01:25:24 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-08-12 23:20:46 -0700 |
| commit | 930885d5e5f817e3d7609f93d5ba89b1abebfaf4 (patch) | |
| tree | 16719bb119d7e3f0aa056d4c3391d6e968bd1198 /src/libstd/num | |
| parent | 44675ac6aff91889f960655b0034964740415e8c (diff) | |
| download | rust-930885d5e5f817e3d7609f93d5ba89b1abebfaf4.tar.gz rust-930885d5e5f817e3d7609f93d5ba89b1abebfaf4.zip | |
Forbid pub/priv where it has no effect
Closes #5495
Diffstat (limited to 'src/libstd/num')
| -rw-r--r-- | src/libstd/num/num.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/num/num.rs b/src/libstd/num/num.rs index 3af1666b4da..9e72b355bf9 100644 --- a/src/libstd/num/num.rs +++ b/src/libstd/num/num.rs @@ -414,11 +414,11 @@ impl_num_cast!(f64, to_f64) impl_num_cast!(float, to_float) pub trait ToStrRadix { - pub fn to_str_radix(&self, radix: uint) -> ~str; + fn to_str_radix(&self, radix: uint) -> ~str; } pub trait FromStrRadix { - pub fn from_str_radix(str: &str, radix: uint) -> Option<Self>; + fn from_str_radix(str: &str, radix: uint) -> Option<Self>; } /// Calculates a power to a given radix, optimized for uint `pow` and `radix`. |
