Skip to content

Commit a6d5a28

Browse files
committed
---
yaml --- r: 21245 b: refs/heads/snap-stage3 c: 932f239 h: refs/heads/master i: 21243: 082459a v: v3
1 parent 4a8668f commit a6d5a28

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,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f5332769d58c5e8d9fee36a7e1f8faa4f5c1b861
4+
refs/heads/snap-stage3: 932f239a9c1671573b653d40f0de3a036fa4c55b
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libcore/unsafe.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ unsafe fn transmute<L, G>(-thing: L) -> G {
5656
}
5757

5858
/// Coerce an immutable reference to be mutable.
59-
unsafe fn transmute_mut<T>(+ptr: &T) -> &mut T { transmute(ptr) }
59+
unsafe fn transmute_mut<T>(+ptr: &a/T) -> &a/mut T { transmute(ptr) }
6060
/// Coerce a mutable reference to be immutable.
61-
unsafe fn transmute_immut<T>(+ptr: &mut T) -> &T { transmute(ptr) }
61+
unsafe fn transmute_immut<T>(+ptr: &a/mut T) -> &a/T { transmute(ptr) }
6262
/// Coerce a borrowed pointer to have an arbitrary associated region.
6363
unsafe fn transmute_region<T>(+ptr: &a/T) -> &b/T { transmute(ptr) }
6464
/// Coerce a borrowed mutable pointer to have an arbitrary associated region.

0 commit comments

Comments
 (0)