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.
|
/// 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.
|
/// This is normally constructed via `format` methods of each date and time type.
|
||||||
#[derive(Show)]
|
#[derive(Debug)]
|
||||||
pub struct DelayedFormat<'a> {
|
pub struct DelayedFormat<'a> {
|
||||||
/// The date view, if any.
|
/// The date view, if any.
|
||||||
date: Option<NaiveDate>,
|
date: Option<NaiveDate>,
|
||||||
|
|
|
@ -228,7 +228,7 @@ pub mod format;
|
||||||
///
|
///
|
||||||
/// The order of the days of week depends on the context.
|
/// 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.
|
/// 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 {
|
pub enum Weekday {
|
||||||
/// Monday.
|
/// Monday.
|
||||||
Mon = 0,
|
Mon = 0,
|
||||||
|
|
|
@ -20,7 +20,7 @@ use time::Time;
|
||||||
use datetime::DateTime;
|
use datetime::DateTime;
|
||||||
|
|
||||||
/// The conversion result from the local time to the timezone-aware datetime types.
|
/// 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> {
|
pub enum LocalResult<T> {
|
||||||
/// Given local time representation is invalid.
|
/// Given local time representation is invalid.
|
||||||
/// This can occur when, for example, the positive timezone transition.
|
/// This can occur when, for example, the positive timezone transition.
|
||||||
|
|
Loading…
Reference in New Issue