aboutsummaryrefslogtreecommitdiffstats
path: root/components/devtools/protocol.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-19 13:40:29 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-19 13:48:32 +0100
commit394f8163433559cea294cb4a4e335cc43ccde1fe (patch)
tree152db85a8df8c3e01dc881f62b66adbf2e8617f6 /components/devtools/protocol.rs
parent60a901328acb871c7cdad64e14777b91dc61cb05 (diff)
downloadservo-394f8163433559cea294cb4a4e335cc43ccde1fe.tar.gz
servo-394f8163433559cea294cb4a4e335cc43ccde1fe.zip
Disallow lines that span more than 160 columns.
The Rust style guide suggests 100, but we have too many violations in the tree already. This check can be tightened over time.
Diffstat (limited to 'components/devtools/protocol.rs')
-rw-r--r--components/devtools/protocol.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/devtools/protocol.rs b/components/devtools/protocol.rs
index be27eed2ec1..df9078c7bf1 100644
--- a/components/devtools/protocol.rs
+++ b/components/devtools/protocol.rs
@@ -2,7 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-/// Low-level wire protocol implementation. Currently only supports [JSON packets](https://wiki.mozilla.org/Remote_Debugging_Protocol_Stream_Transport#JSON_Packets).
+//! Low-level wire protocol implementation. Currently only supports
+//! [JSON packets]
+//! (https://wiki.mozilla.org/Remote_Debugging_Protocol_Stream_Transport#JSON_Packets).
use serialize::{json, Encodable};
use serialize::json::Json;