Skip to content

Commit

Permalink
std: Make MemWriter clonable
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Jul 29, 2014
1 parent e27b88d commit 2bcb4bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/io/mem.rs
Expand Up @@ -56,6 +56,7 @@ fn combine(seek: SeekStyle, cur: uint, end: uint, offset: i64) -> IoResult<u64>
///
/// assert_eq!(w.unwrap(), vec!(0, 1, 2));
/// ```
#[deriving(Clone)]
pub struct MemWriter {
buf: Vec<u8>,
}
Expand Down

10 comments on commit 2bcb4bd

@bors
Copy link
Contributor

@bors bors commented on 2bcb4bd Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at erickt@2bcb4bd

@bors
Copy link
Contributor

@bors bors commented on 2bcb4bd Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging erickt/rust/master = 2bcb4bd into auto

@bors
Copy link
Contributor

@bors bors commented on 2bcb4bd Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

erickt/rust/master = 2bcb4bd merged ok, testing candidate = f6d55186

@erickt
Copy link
Contributor Author

@erickt erickt commented on 2bcb4bd Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors: retry

@bors
Copy link
Contributor

@bors bors commented on 2bcb4bd Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at erickt@2bcb4bd

@bors
Copy link
Contributor

@bors bors commented on 2bcb4bd Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging erickt/rust/master = 2bcb4bd into auto

@bors
Copy link
Contributor

@bors bors commented on 2bcb4bd Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

erickt/rust/master = 2bcb4bd merged ok, testing candidate = f681420

@bors
Copy link
Contributor

@bors bors commented on 2bcb4bd Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = f681420

Please sign in to comment.