Skip to content

No docs for String on stable? #58827

Closed
Closed

Description

@matklad

Hi! Looks like docs for std string methods are missing on stable release?

https://doc.rust-lang.org/std/string/struct.String.html#method.as_bytes

37906c37-5439-48fd-b536-8562abd30309

THe methods section is empty :(

Everything works ok for beta.

Activity

  1. matklad commented on Mar 1, 2019

    @matklad
    ContributorAuthor

    Note that the screenshot was taken from iPad. I know checked using Firefox on linux, and the methods are there.

  2. hellow554 commented on Mar 1, 2019

    @hellow554
    Contributor

    This is the same for other structs, e.g. std::sync::Arc (Firefox 64, Windows)

    grafik

    @matklad can you ping the doc team about this?

  3. matklad commented on Mar 1, 2019

    @matklad
    ContributorAuthor

    cc @rust-lang/docs :)

    Note that it does work for some people. I wonder if this is some temporary internet caches thing?

  4. added
    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
    C-bugCategory: This is a bug.
    on Mar 1, 2019
  5. jonas-schievink commented on Mar 1, 2019

    @jonas-schievink
    Contributor

    Looks like a rustdoc problem more than anything. Did you try clearing your caches? I know I have to do that after pretty much every stable release or stuff breaks for me.

    cc @rust-lang/rustdoc

  6. GuillaumeGomez commented on Mar 1, 2019

    @GuillaumeGomez
    Member

    I have tested and I can't reproduce it on my linux's chrome and firefox. So I don't know what's going on and I don't have an ipad to test specifically what's wrong on this platform...

  7. hellow554 commented on Mar 1, 2019

    @hellow554
    Contributor

    It was indeed a caching problem. Sorry for the noise :/ Although it shouldn't happen IMHO.

  8. jonas-schievink commented on Mar 1, 2019

    @jonas-schievink
    Contributor

    Yes, it would be nice to find a proper solution for this. I've also opened issues in the past that were just due to a stale browser cache.

  9. GuillaumeGomez commented on Mar 1, 2019

    @GuillaumeGomez
    Member

    We could by changing the name of the script files like docs.rs does. Where could I change it @rust-lang/infra ?

  10. kennytm commented on Mar 1, 2019

    @kennytm
    Member

    Isn't the script path hard-coded in src/librustdoc/html/layout.rs?

  11. GuillaumeGomez commented on Mar 1, 2019

    @GuillaumeGomez
    Member

    It's generated and can be changed (we have options for that in rustdoc).

  12. QuietMisdreavus commented on Mar 1, 2019

    @QuietMisdreavus
    Contributor

    Could we just start adding a --resource-suffix in bootstrap with something that matches the version string (or just the latest commit if necessary)? That would ensure that the filename is different so that the CDN wouldn't serve old files to the wrong version's docs.

  13. GuillaumeGomez commented on Mar 2, 2019

    @GuillaumeGomez
    Member

    @QuietMisdreavus I did. Look at #58848. :)

  14. added 5 commits that reference this issue on Mar 10, 2019
    2866b77
    cca1b79
    5bff5d8
    c0b7e9c
    91df4f1
  15. added a commit that references this issue on Mar 11, 2019
    b6cc929
  16. added a commit that references this issue on Mar 28, 2019
    20f063a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions