aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/textinput.rs
diff options
context:
space:
mode:
authorerneyja <joshua.erney@gmail.com>2015-08-30 22:20:38 -0400
committererneyja <joshua.erney@gmail.com>2015-09-01 07:18:19 -0400
commit17663315dd64bba0ebb64c908f9beacc2e352d3a (patch)
treed335a52f3b9504f99822692923143c16cf8e5983 /components/script/textinput.rs
parentccb8e4655759341e1b45139217cae7d8c2f7ec48 (diff)
downloadservo-17663315dd64bba0ebb64c908f9beacc2e352d3a.tar.gz
servo-17663315dd64bba0ebb64c908f9beacc2e352d3a.zip
make test-tidy check that = have space after them
Diffstat (limited to 'components/script/textinput.rs')
-rw-r--r--components/script/textinput.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/textinput.rs b/components/script/textinput.rs
index 0f7164d5fa0..c647f63d4d8 100644
--- a/components/script/textinput.rs
+++ b/components/script/textinput.rs
@@ -78,12 +78,12 @@ pub enum Direction {
/// Was the keyboard event accompanied by the standard control modifier,
/// i.e. cmd on Mac OS or ctrl on other platforms.
-#[cfg(target_os="macos")]
+#[cfg(target_os = "macos")]
fn is_control_key(mods: KeyModifiers) -> bool {
mods.contains(SUPER) && !mods.contains(CONTROL | ALT)
}
-#[cfg(not(target_os="macos"))]
+#[cfg(not(target_os = "macos"))]
fn is_control_key(mods: KeyModifiers) -> bool {
mods.contains(CONTROL) && !mods.contains(SUPER | ALT)
}