diff options
| author | bors <bors@rust-lang.org> | 2013-08-13 07:26:23 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-13 07:26:23 -0700 |
| commit | 0d817ee869387322dec4d3f7d407dcc9f91c2632 (patch) | |
| tree | 958140150cb50faae2b56a21bf4759261ec306d2 /src/libstd/num | |
| parent | f02cc6bf0a276115a31354b1c1530e6fe9eb4d58 (diff) | |
| parent | 930885d5e5f817e3d7609f93d5ba89b1abebfaf4 (diff) | |
| download | rust-0d817ee869387322dec4d3f7d407dcc9f91c2632.tar.gz rust-0d817ee869387322dec4d3f7d407dcc9f91c2632.zip | |
auto merge of #8423 : alexcrichton/rust/less-priv-again, r=bstrie
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`. |
