Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 988131c

Browse files
committed
Bump to 0.2.13
1 parent 8505a50 commit 988131c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "rustc-serialize"
4-
version = "0.2.12"
4+
version = "0.2.13"
55
authors = ["The Rust Project Developers"]
66
license = "MIT/Apache-2.0"
77
readme = "README.md"

src/serialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ impl Encodable for path::Path {
570570
#[cfg(unix)]
571571
fn encode<S: Encoder>(&self, e: &mut S) -> Result<(), S::Error> {
572572
use std::os::unix::OsStrExt;
573-
self.as_os_str().as_byte_slice().encode(e)
573+
self.as_os_str().as_bytes().encode(e)
574574
}
575575
#[cfg(windows)]
576576
fn encode<S: Encoder>(&self, e: &mut S) -> Result<(), S::Error> {

0 commit comments

Comments
 (0)