You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rustdoc improperly showing pub use ... as functions #23054
The documentation of std::ptr displays copy_memory and copy_nonoverlapping_memory two times each, once labelled as deprecated, and once labelled as stable.
Both the links of copy_memory leads to a deprecated function. Hovering over the purple bar tells me that the function is renamed to copy, except that it doesn't seem to exist.
changed the title [-]Duplicate functions displayed in std::ptr by rustdoc[/-][+]Rustdoc improperly showing `pub use ... as` functions[/+]on Mar 8, 2015
The originally reported issue in std::ptr docs has since been resolved (the deprecated functions were removed, and pub use doesn't involve a rename anymore). I'm not sure if the underlying issue was fixed, although docs for this crate:
#![crate_type="lib"]pubuse inner::blah as testing;mod inner {pubfnblah(){}}
Activity
steveklabnik commentedon Mar 8, 2015
Basically, there's both of these lines. So
rustdocis showing that first one ascopy_memoryrather thancopy.[-]Duplicate functions displayed in std::ptr by rustdoc[/-][+]Rustdoc improperly showing `pub use ... as` functions[/+]tomjakubowski commentedon Mar 27, 2015
The originally reported issue in
std::ptrdocs has since been resolved (the deprecated functions were removed, andpub usedoesn't involve a rename anymore). I'm not sure if the underlying issue was fixed, although docs for this crate:Correctly name the exported function
testing.steveklabnik commentedon Nov 15, 2016
Yes, it looks like this has somehow been fixed. If not, please let us know with an updated test case, thank you!
Merge pull request rust-lang#23054 from ChayimFriedman2/asm-keyword