Skip to content

Commit

Permalink
0.1.10: language changes.
Browse files Browse the repository at this point in the history
- `std::str::SendStr` is now `std::string::CowString<'static>`.
  • Loading branch information
lifthrasiir committed Jan 6, 2015
1 parent 5615d4d commit 883b656
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chrono"
version = "0.1.9"
version = "0.1.10"
authors = ["Kang Seonghoon <[email protected]>"]

description = "Date and time library for Rust"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Chrono][doc] 0.1.9
===================
[Chrono][doc] 0.1.10
====================

[![Chrono on Travis CI][travis-image]][travis]

Expand Down
4 changes: 2 additions & 2 deletions src/date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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>> {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 883b656

Please sign in to comment.