Skip to content

Commit eaa6344

Browse files
committed
---
yaml --- r: 37319 b: refs/heads/try c: 4edb881 h: refs/heads/master i: 37317: e68a968 37315: f764cf6 37311: 6f807a8 v: v3
1 parent 5953b51 commit eaa6344

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
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: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5-
refs/heads/try: 191d16265be6b9db3d48ef87944b7d42b5dffe0d
5+
refs/heads/try: 4edb88112409c111790dacacb06c22de2ef8da06
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/doc/tutorial-macros.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
# Introduction
44

5-
Functions are the primary tool that programmers can use to build
6-
abstractions. Sometimes, though, programmers want to abstract over
7-
compile-time, syntactic structures rather than runtime values. For example,
8-
the following two code fragments both pattern-match on their input and return
9-
early in one case, doing nothing otherwise:
5+
Functions are the primary tool that programmers can use to build abstractions.
6+
Sometimes, however, programmers want to perform abstractions over things that are not
7+
runtime values. Macros provide a syntactic abstraction. For an example of how this
8+
can be useful, consider the following two code fragments, which both pattern-match
9+
on their input and return early in one case, and do nothing otherwise:
1010

1111
~~~~
1212
# enum t { special_a(uint), special_b(uint) };

branches/try/src/libstd/net_tcp.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,8 +1387,7 @@ mod test {
13871387
let sock = result::unwrap(move connect_result);
13881388
13891389
// This is what we are actually testing!
1390-
assert net::ip::format_addr(&sock.get_peer_addr()) ==
1391-
~"127.0.0.1";
1390+
assert net::ip::format_addr(&sock.get_peer_addr()) == ~"127.0.0.1";
13921391
assert net::ip::get_port(&sock.get_peer_addr()) == 8887;
13931392

13941393
// Fulfill the protocol the test server expects

branches/try/src/libstd/uv_ll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ pub mod test {
14841484
fn impl_uv_tcp_server_and_request() unsafe {
14851485
let bind_ip = ~"0.0.0.0";
14861486
let request_ip = ~"127.0.0.1";
1487-
let port = 8886;
1487+
let port = 8887;
14881488
let kill_server_msg = ~"does a dog have buddha nature?";
14891489
let server_resp_msg = ~"mu!";
14901490
let client_port = core::comm::Port::<~str>();

0 commit comments

Comments
 (0)