Fix fallout from change, adding explicit Sized annotations where necessary.
This commit is contained in:
@@ -980,7 +980,7 @@ impl_to_primitive_float! { f64 }
|
||||
|
||||
/// A generic trait for converting a number to a value.
|
||||
#[experimental = "trait is likely to be removed"]
|
||||
pub trait FromPrimitive {
|
||||
pub trait FromPrimitive : ::kinds::Sized {
|
||||
/// Convert an `int` to return an optional value of this type. If the
|
||||
/// value cannot be represented by this value, the `None` is returned.
|
||||
#[inline]
|
||||
|
||||
Reference in New Issue
Block a user