aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-16 22:48:04 -0800
committerJoe Wilm <joe@jwilm.com>2016-12-16 22:48:04 -0800
commitbde4dacc791501440515c1a51ad2fcb0256cf04c (patch)
tree66bd6762c4ae11705d1a82ed72112a408e5ec2d5 /src/config.rs
parent781572096ea67516a98872b1b3c5b1ffaea9bae0 (diff)
downloadr-alacritty-bde4dacc791501440515c1a51ad2fcb0256cf04c.tar.gz
r-alacritty-bde4dacc791501440515c1a51ad2fcb0256cf04c.tar.bz2
r-alacritty-bde4dacc791501440515c1a51ad2fcb0256cf04c.zip
Misc formatting fixes
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index a6d8150e..aca16a1d 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -459,7 +459,10 @@ impl de::Deserialize for RawBinding {
impl Visitor for RawBindingVisitor {
type Value = RawBinding;
- fn visit_map<V>(&mut self, mut visitor: V) -> ::std::result::Result<RawBinding, V::Error>
+ fn visit_map<V>(
+ &mut self,
+ mut visitor: V
+ ) -> ::std::result::Result<RawBinding, V::Error>
where V: MapVisitor,
{
let mut mods: Option<::glutin::Mods> = None;
@@ -1129,7 +1132,8 @@ impl Monitor {
if op.contains(op::IGNORED) {
if let Some(path) = path.as_ref() {
if let Err(err) = watcher.watch(&path) {
- err_println!("failed to establish watch on {:?}: {:?}", path, err);
+ err_println!("failed to establish watch on {:?}: {:?}",
+ path, err);
}
}
}