Skip to content

Commit 8975694

Browse files
committed
---
yaml --- r: 79346 b: refs/heads/try c: 71a487b h: refs/heads/master v: v3
1 parent d56abce commit 8975694

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e6de6b7da8ee88bf84b0e217900051334be08da
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5-
refs/heads/try: 567d3942fbaea3d19fb9fe6c13983af13c2c16ca
5+
refs/heads/try: 71a487b5ad8c7d559b798e673849d476cb914982
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/to_bytes.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,3 +375,13 @@ impl<A:IterBytes> ToBytes for A {
375375
}
376376
}
377377
}
378+
379+
#[cfg(test)]
380+
mod test {
381+
use super::*;
382+
// just test to see if it compiles:
383+
#[test] fn iterbytes_compiles () {
384+
takes_iterbytes((3,4,5,false));
385+
}
386+
fn takes_iterbytes<T : IterBytes>(x : T) {}
387+
}

0 commit comments

Comments
 (0)