From 9239ee5c27eb6d87098b10cb8e1f4ea9465d1add Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Tue, 7 Feb 2017 17:09:41 -0800 Subject: Add path resolution using a strict subset of JSONPath --- src/file/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/file/mod.rs') diff --git a/src/file/mod.rs b/src/file/mod.rs index e85d082..7e9d1a2 100644 --- a/src/file/mod.rs +++ b/src/file/mod.rs @@ -158,7 +158,7 @@ impl File { source: FileSourceFile { name: name.into(), path: None, - } + }, } } } @@ -176,7 +176,7 @@ impl File { impl File { pub fn path(self, path: &str) -> Self { - File { source: FileSourceFile { path: Some(path.into()), ..self.source } , ..self } + File { source: FileSourceFile { path: Some(path.into()), ..self.source }, ..self } } pub fn namespace(self, namespace: &str) -> Self { -- cgit v1.2.3