language changes: replaced remaining occurrences of Show with Debug.
This commit is contained in:
parent
36181b65ca
commit
98d1ce01c9
|
@ -179,7 +179,7 @@ fn format(w: &mut fmt::Formatter, date: Option<&NaiveDate>, time: Option<&NaiveT
|
|||
|
||||
/// A *temporary* object which can be used as an argument to `format!` or others.
|
||||
/// This is normally constructed via `format` methods of each date and time type.
|
||||
#[derive(Show)]
|
||||
#[derive(Debug)]
|
||||
pub struct DelayedFormat<'a> {
|
||||
/// The date view, if any.
|
||||
date: Option<NaiveDate>,
|
||||
|
|
|
@ -228,7 +228,7 @@ pub mod format;
|
|||
///
|
||||
/// The order of the days of week depends on the context.
|
||||
/// One should prefer `*_from_monday` or `*_from_sunday` methods to get the correct result.
|
||||
#[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Show)]
|
||||
#[derive(PartialEq, Eq, Copy, Clone, FromPrimitive, Debug)]
|
||||
pub enum Weekday {
|
||||
/// Monday.
|
||||
Mon = 0,
|
||||
|
|
|
@ -20,7 +20,7 @@ use time::Time;
|
|||
use datetime::DateTime;
|
||||
|
||||
/// The conversion result from the local time to the timezone-aware datetime types.
|
||||
#[derive(Clone, PartialEq, Show)]
|
||||
#[derive(Clone, PartialEq, Debug)]
|
||||
pub enum LocalResult<T> {
|
||||
/// Given local time representation is invalid.
|
||||
/// This can occur when, for example, the positive timezone transition.
|
||||
|
|
Loading…
Reference in New Issue