Skip to content

Commit ef03363

Browse files
committed
Char::from_digit signature fix
1 parent b9308d1 commit ef03363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ pub trait Char {
271271
/// # Failure
272272
///
273273
/// Fails if given a radix > 36.
274-
fn from_digit(num: uint, radix: uint) -> Option<char>;
274+
fn from_digit(num: uint, radix: uint) -> Option<Self>;
275275

276276
/// Returns the hexadecimal Unicode escape of a character.
277277
///

0 commit comments

Comments
 (0)