Skip to content

Commit 2a876af

Browse files
committed
---
yaml --- r: 15479 b: refs/heads/try c: eb935b8 h: refs/heads/master i: 15477: 2ffb26d 15475: 95b6b95 15471: c32482e v: v3
1 parent c05a169 commit 2a876af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 4063802f64aec76a8cd56c1332b23b72cd3efefe
5+
refs/heads/try: eb935b8fcbe1ceb128797aa574e0c1a332a6a14e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/libcore/str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,9 +1531,9 @@ interop, without copying the original string.
15311531
15321532
# Example
15331533
1534-
```
1534+
~~~
15351535
let s = str::as_buf(\"PATH\", { |path_buf| libc::getenv(path_buf) });
1536-
```
1536+
~~~
15371537
"]
15381538
fn as_c_str<T>(s: str, f: fn(*libc::c_char) -> T) -> T unsafe {
15391539
as_buf(s) {|buf| f(buf as *libc::c_char) }

0 commit comments

Comments
 (0)