Skip to content

Commit

Permalink
Merge pull request #5 from qnighy/remove-usize-paren
Browse files Browse the repository at this point in the history
Remove () from usize().
  • Loading branch information
willglynn authored May 30, 2017
2 parents 8043585 + a995859 commit dd6b89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tpi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit dd6b89e

Please sign in to comment.