Skip to content

Commit 3310bd8

Browse files
nikomatsakiscatamorphism
authored andcommitted
wrap long line
1 parent 16727d9 commit 3310bd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcore/str.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,8 @@ mod unsafe {
18001800
return ::unsafe::transmute(v);
18011801
}
18021802

1803-
/// Create a Rust string from a *u8 buffer of the given length without copying
1803+
/// Create a Rust string from a *u8 buffer of the given length
1804+
/// without copying
18041805
unsafe fn from_buf_len_nocopy(buf: &a / *u8, len: uint) -> &a / str {
18051806
let v = (*buf, len + 1);
18061807
assert is_utf8(::unsafe::reinterpret_cast(v));

0 commit comments

Comments
 (0)