From 5aa0fd44535faa0ea1c0522b089e16d4b57e4e6f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 28 Jun 2020 12:34:49 -0400 Subject: Apply some rustfmt suggestions --- src/vp.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/vp.rs') diff --git a/src/vp.rs b/src/vp.rs index 3d88937..85d3972 100644 --- a/src/vp.rs +++ b/src/vp.rs @@ -191,9 +191,7 @@ pub struct VpTree { impl VpTree { /// Create an empty tree. pub fn new() -> Self { - Self { - root: None, - } + Self { root: None } } /// Create a balanced tree out of a sequence of items. -- cgit v1.2.3