summaryrefslogtreecommitdiffstats
path: root/src/schema/facet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema/facet.rs')
-rw-r--r--src/schema/facet.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/schema/facet.rs b/src/schema/facet.rs
index a77146f..7791943 100644
--- a/src/schema/facet.rs
+++ b/src/schema/facet.rs
@@ -120,9 +120,7 @@ impl Facet {
/// Extract path from the `Facet`.
pub fn to_path(&self) -> Vec<&str> {
- self.encoded_str()
- .split(|c| c == FACET_SEP_CHAR)
- .collect()
+ self.encoded_str().split(|c| c == FACET_SEP_CHAR).collect()
}
}