0.1.10: language changes.

- `std::str::SendStr` is now `std::string::CowString<'static>`.
This commit is contained in:
Kang Seonghoon 2015-01-06 10:44:08 +09:00
parent 5615d4de34
commit 883b656d49
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "chrono"
version = "0.1.9"
version = "0.1.10"
authors = ["Kang Seonghoon <public+rust@mearie.org>"]
description = "Date and time library for Rust"

View File

@ -1,5 +1,5 @@
[Chrono][doc] 0.1.9
===================
[Chrono][doc] 0.1.10
====================
[![Chrono on Travis CI][travis-image]][travis]

View File

@ -301,7 +301,7 @@ impl<Off:Offset> fmt::Show for Date<Off> {
mod tests {
use std::borrow::IntoCow;
use std::fmt;
use std::str::SendStr;
use std::string::CowString;
use duration::Duration;
use naive::date::NaiveDate;
@ -316,7 +316,7 @@ mod tests {
struct UTC1y; // same to UTC but with an offset of 365 days
impl Offset for UTC1y {
fn name(&self) -> SendStr { "UTC+8760".into_cow() } // yes, no kidding
fn name(&self) -> CowString<'static> { "UTC+8760".into_cow() } // yes, no kidding
fn local_minus_utc(&self) -> Duration { Duration::zero() }
fn from_local_date(&self, local: &NaiveDate) -> LocalResult<Date<UTC1y>> {

View File

@ -4,7 +4,7 @@
/*!
# Chrono 0.1.9
# Chrono 0.1.10
Date and time handling for Rust. (also known as `rust-chrono`)
It aims to be a feature-complete superset of the [time](https://github.com/rust-lang/time) library.