From a995859c7f260be094d70adc5f772b2346de7232 Mon Sep 17 00:00:00 2001 From: Masaki Hara Date: Tue, 30 May 2017 09:27:55 +0900 Subject: [PATCH] Remove () from usize(). --- src/tpi/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tpi/mod.rs b/src/tpi/mod.rs index 6c94550..455f981 100644 --- a/src/tpi/mod.rs +++ b/src/tpi/mod.rs @@ -136,7 +136,7 @@ impl<'t> TypeInformation<'t> { /// /// Note that primitive types are not stored in the PDB file, so the number of distinct types /// reachable via this `TypeInformation` will be higher than `len()`. - pub fn len(&self) -> usize() { + pub fn len(&self) -> usize { (self.header.maximum_type_index - self.header.minimum_type_index) as usize }