Skip to content

Commit ec265f9

Browse files
committed
---
yaml --- r: 12473 b: refs/heads/master c: eb935b8 h: refs/heads/master i: 12471: 76047cf v: v3
1 parent 34278e5 commit ec265f9

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 4063802f64aec76a8cd56c1332b23b72cd3efefe
2+
refs/heads/master: eb935b8fcbe1ceb128797aa574e0c1a332a6a14e
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/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)