-
Notifications
You must be signed in to change notification settings - Fork 542
Comparing changes
Open a pull request
base repository: rust-lang/reference
base: 36d8fdf
head repository: rust-lang/reference
compare: 60ccf42
- 18 commits
- 48 files changed
- 4 contributors
Commits on Aug 17, 2024
-
This rewrites std_links for two major changes: - Uses pulldown_cmark to parse the markdown instead of using regular expressions. The RegEx approach was just too unreliable. - Call rustdoc only once, instead of once per chapter. The overhead of calling rustdoc is significant, and calling it for each chapter was extremely slow. Unfortunately the error messages are a little worse now, since it doesn't show which chapter a bad link came from. I'm uncertain how to make that better.
Configuration menu - View commit details
-
Copy full SHA for 7f2810f - Browse repository at this point
Copy the full SHA 7f2810fView commit details -
Switch mdbook-spec to build with release
This should speed things up a little, particularly when working locally.
Configuration menu - View commit details
-
Copy full SHA for c53965b - Browse repository at this point
Copy the full SHA c53965bView commit details -
Switch to automatic standard library links
This removes the explicit links to the standard library. In particular, this makes it nicer to view locally since you can set SPEC_RELATIVE=0 to make the links work. There are a bunch of changes to the actual URL because rustdoc resolves re-exports to link to the original definition instead of the re-export site. From what I can tell, everything should otherwise be the same. Not all links were able to be converted due to some limitations in rustdoc, such as: - Links to rexports from std_arch don't work due to rust-lang/rust#96506. - Links to keywords aren't supported. - Links to trait impls where the trait is not in the prelude doesn't work (they must be in scope).
Configuration menu - View commit details
-
Copy full SHA for 52e0ff3 - Browse repository at this point
Copy the full SHA 52e0ff3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a52c1f - Browse repository at this point
Copy the full SHA 1a52c1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4711485 - Browse repository at this point
Copy the full SHA 4711485View commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d07e406 - Browse repository at this point
Copy the full SHA d07e406View commit details -
Wordsmith text for unsafe attributes
In this commit, we improve some verbiage.
Configuration menu - View commit details
-
Copy full SHA for 7b4d9b3 - Browse repository at this point
Copy the full SHA 7b4d9b3View commit details -
Fix grammar for unsafe attributes
There were some errors in the formatting and the content of the grammar for unsafe attributes. Let's fix those.
Configuration menu - View commit details
-
Copy full SHA for e588d82 - Browse repository at this point
Copy the full SHA e588d82View commit details -
Add to unsafety section for unsafe attributes
Let's describe unsafe attributes in the chapter on unsafety.
Configuration menu - View commit details
-
Copy full SHA for 5bbf379 - Browse repository at this point
Copy the full SHA 5bbf379View commit details -
Fix the Attr grammar for unsafe attributes.
The _Attr_ production is used for `cfg_attr` attribute and the `meta` macro fragment specifier, and those need to accept the new `unsafe` syntax.
Configuration menu - View commit details
-
Copy full SHA for f6cd69a - Browse repository at this point
Copy the full SHA f6cd69aView commit details -
Use
unsafe
in the unsafe attribute examples.This will be required in 2024.
Configuration menu - View commit details
-
Copy full SHA for 73c11ac - Browse repository at this point
Copy the full SHA 73c11acView commit details -
Merge pull request #1539 from carbotaniuman/add-unsafe-attr-docs
Add some basic docs for unsafe attrs
Configuration menu - View commit details
-
Copy full SHA for 135bdee - Browse repository at this point
Copy the full SHA 135bdeeView commit details
Commits on Aug 20, 2024
-
It's better to allocate for the smaller prefix that we're extracting than to allocate repeatedly for the tail items, especially as `split_off` doesn't shrink the capacity of what we go on to insert.
Configuration menu - View commit details
-
Copy full SHA for b95d379 - Browse repository at this point
Copy the full SHA b95d379View commit details -
Configuration menu - View commit details
-
Copy full SHA for b308070 - Browse repository at this point
Copy the full SHA b308070View commit details -
Merge pull request #1578 from ehuss/std-links
Rewrite the automatic std link translation, and switch to automatic links
Configuration menu - View commit details
-
Copy full SHA for b1b50e4 - Browse repository at this point
Copy the full SHA b1b50e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f73f6d6 - Browse repository at this point
Copy the full SHA f73f6d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 060d2b3 - Browse repository at this point
Copy the full SHA 060d2b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60ccf42 - Browse repository at this point
Copy the full SHA 60ccf42View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 36d8fdf...60ccf42