When searching for an item from the core or alloc libraries, we typically get two results as the std library re-exports the types of the core and alloc libraries. In this case, we should discard the result from the std library and just display the core or alloc library documentation.
To implement this, we would have to add a special case to the Sources::search
function in source.rs
.