File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
branches/snap-stage3/src/libstd Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: deeca5d586bfaa4aa60246f671a8d611d38f6248
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: a43bf3ff99c0c801c4524f0f96d8d57e758e1044
4
+ refs/heads/snap-stage3: 0393c402a6f523993bb47c579d7382bec507bde7
5
5
refs/heads/try: b160761e35efcd1207112b3b782c06633cf441a8
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -2349,12 +2349,12 @@ pub mod raw {
2349
2349
}
2350
2350
}
2351
2351
2352
- /// Operations on `[u8]`
2352
+ /// Operations on `[u8]`.
2353
2353
pub mod bytes {
2354
2354
use vec:: raw;
2355
2355
use ptr;
2356
2356
2357
- /// A trait for operations on mutable operations on `[u8]`
2357
+ /// A trait for operations on mutable `[u8]`s.
2358
2358
pub trait MutableByteVector {
2359
2359
/// Sets all bytes of the receiver to the given value.
2360
2360
fn set_memory ( self , value : u8 ) ;
@@ -2372,7 +2372,9 @@ pub mod bytes {
2372
2372
/**
2373
2373
* Copies data from one vector to another.
2374
2374
*
2375
- * Copies `src` to `dst`. The source and destination may overlap.
2375
+ * Copies `src` to `dst`. The source and destination may
2376
+ * overlap. Fails if the length of `dst` is less than the length
2377
+ * of `src`.
2376
2378
*/
2377
2379
#[ inline]
2378
2380
pub fn copy_memory ( dst : & mut [ u8 ] , src : & [ u8 ] ) {
@@ -2381,7 +2383,7 @@ pub mod bytes {
2381
2383
}
2382
2384
2383
2385
/**
2384
- * Allocate space in `dst` and append the data in `src`.
2386
+ * Allocate space in `dst` and append the data to `src`.
2385
2387
*/
2386
2388
#[ inline]
2387
2389
pub fn push_bytes ( dst : & mut ~[ u8 ] , src : & [ u8 ] ) {
You can’t perform that action at this time.
0 commit comments