Skip to content

Commit e4fc30d

Browse files
committed
---
yaml --- r: 31695 b: refs/heads/dist-snap c: 0cc6cef h: refs/heads/master i: 31693: e9e7620 31691: 59dadff 31687: 00aaffc 31679: 52d81e7 v: v3
1 parent cba1cab commit e4fc30d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: efea6f016eacf258e7b6bdaa960a39b3e7f91fa5
10+
refs/heads/dist-snap: 0cc6cefaec4cedfc91ec7de447e116e6eba82915
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/src/libcore/util.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
/// The identity function.
66
pure fn id<T>(+x: T) -> T { x }
77

8+
/// Ignores a value.
9+
pure fn ignore<T>(+_x: T) { }
10+
811
/**
912
* Swap the values at two mutable locations of the same type, without
1013
* deinitialising or copying either one.

0 commit comments

Comments
 (0)