Skip to content

Commit 39fb231

Browse files
committed
---
yaml --- r: 23353 b: refs/heads/master c: 932f239 h: refs/heads/master i: 23351: 3865e81 v: v3
1 parent a25fd62 commit 39fb231

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: f5332769d58c5e8d9fee36a7e1f8faa4f5c1b861
2+
refs/heads/master: 932f239a9c1671573b653d40f0de3a036fa4c55b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

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