diff options
| author | FuGangqiang <fu_gangqiang@163.com> | 2015-03-07 18:03:38 +0800 |
|---|---|---|
| committer | FuGangqiang <fu_gangqiang@163.com> | 2015-03-07 18:03:38 +0800 |
| commit | ae7dce674e52f43d064f90b8415311406a9714d5 (patch) | |
| tree | 897d7b19820529d94216f95150ba26828b0f1630 | |
| parent | 270a677d4d698916f5ad103f0afc3c070b8dbeb4 (diff) | |
| download | rust-ae7dce674e52f43d064f90b8415311406a9714d5.tar.gz rust-ae7dce674e52f43d064f90b8415311406a9714d5.zip | |
indicate from_str_radix is code
| -rw-r--r-- | src/libcore/num/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 76edec80896..752eca797bd 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -1517,7 +1517,7 @@ pub trait FromStrRadix { fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::Err>; } -/// A utility function that just calls FromStrRadix::from_str_radix. +/// A utility function that just calls `FromStrRadix::from_str_radix`. #[unstable(feature = "core", reason = "needs reevaluation")] pub fn from_str_radix<T: FromStrRadix>(str: &str, radix: u32) -> Result<T, T::Err> { |
