Hi every one I am learning rust first time I find its search bar for the STD Lib is not so much give accurate result like other docs what we can do to improve it I am searching many word directly from it is not working find .I hope you understand the problem.
Can you give an example of phrases you try searching, and which page you'd expect but that is not found? To identify potential use-case that is missing or not enabled by default...
yes I find for the sort key word for vec after Ctrl+F I find this is the bug
So, if I understand correctly, the issue is that searching for sort
brings up methods on slices, whereas you are looking for methods on Vec
. The problem is that Vec
doesn't technically have a sort
method, but it can deref coerce to a slice. The slice method is listed on the Vec
page for convenience, but not in the search. I think listing methods on Vec
in the search separately might clutter the results too much, but perhaps it could mention things that dereference to a slice under the slice methods. In general when searching for a method on Vec
, I would start from the Vec
page rather than using the search bar, so I don't know whether this would be useful in practice though.
Hey any tutorial How to read rust docs I am actually not able to get this stuff I begineer