]> git.lizzy.rs Git - rust.git/commit
Merge #1514
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 8 Jul 2019 19:18:49 +0000 (19:18 +0000)
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 8 Jul 2019 19:18:49 +0000 (19:18 +0000)
commitecdc6cdce997c6ae251dbda2066de929f9d49c49
tree74f668500a59141777ded421239b0da33f4853c3
parent32100022010ecfefd1ea06caa71d1a508d2eb75d
parent95d78a8d8d3bcb25ff7073c849824985b196c651
Merge #1514

1514: Better completions for floating point primitive types r=flodiebold a=marcogroppo

After #1499 completions for (some of) the inherent methods of `f32` and `f64` are now working.
Unfortunately during method resolution we were only looking for the `f32` and `f64` language items defined in `libcore` and we were ignoring the methods defined in `libstd`.

This PR fixes this issue.

Co-authored-by: Marco Groppo <marco.groppo@gmail.com>