Skip to content

Commit de75e1e

Browse files
committed
---
yaml --- r: 92883 b: refs/heads/auto c: 4e75265 h: refs/heads/master i: 92881: 5438489 92879: b5cb6d1 v: v3
1 parent cf5bcc6 commit de75e1e

File tree

22 files changed

+178
-731
lines changed

22 files changed

+178
-731
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 7fc4df366f745537cb9d8d26ad869122e7db93c6
16+
refs/heads/auto: 4e752651f43a72a1f7dddde0bff932a7ae04960e
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/etc/emacs/rust-mode.el

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@
5454
;; We don't want to indent out to the open bracket if the
5555
;; open bracket ends the line
5656
(when (not (looking-at "[[:blank:]]*\\(?://.*\\)?$"))
57-
(when (looking-at "[[:space:]]")
58-
(forward-word 1)
59-
(backward-word 1))
57+
(when (looking-at "[[:space:]]") (forward-to-word 1))
6058
(current-column))))
6159

6260
(defun rust-mode-indent-line ()

branches/auto/src/libnative/io/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ impl rtio::IoFactory for IoFactory {
166166
fn tcp_bind(&mut self, addr: SocketAddr) -> IoResult<~RtioTcpListener> {
167167
net::TcpListener::bind(addr).map(|s| ~s as ~RtioTcpListener)
168168
}
169-
fn udp_bind(&mut self, addr: SocketAddr) -> IoResult<~RtioUdpSocket> {
170-
net::UdpSocket::bind(addr).map(|u| ~u as ~RtioUdpSocket)
169+
fn udp_bind(&mut self, _addr: SocketAddr) -> IoResult<~RtioUdpSocket> {
170+
Err(unimpl())
171171
}
172172
fn unix_bind(&mut self, _path: &CString) -> IoResult<~RtioUnixListener> {
173173
Err(unimpl())

0 commit comments

Comments
 (0)