-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change old documentation that uses deprecated "do" syntax #13445
Comments
That guide is in this repo right here: https://github.com/mozilla/rust/blob/master/src/doc/guide-ffi.md |
ahhh, brilliant, thank you. Can anyone suggest the correct syntax for using readline with rust? (my attempted correction simply exits without doing anything, is this incorrect use of rust syntax or incorrect use of the readline library? (unfortunately I'm new to both.) original code is right here |
Using some strategically-placed `#` markers most of the examples are testable (and their contents are nontrivial). Closes #13445
fix) update broken links in guide.md Hi, I Just fixed some broken links in `guide.md`. In most cases, it is not connected by an old version (expecially `guide-2019-01`) of the link, so I made some modifications. Thanks for your time :)
`invalid_null_ptr_usage`: fix false positives for `std::ptr::slice_from_raw_parts` functions fixes rust-lang#13445 changelog: [`invalid_null_ptr_usage`]: fix false positives for `std::ptr::slice_from_raw_parts` functions
in the rust documentation for 0.10 in the second block
This will not compile as it uses the old
do
syntax that has been deprecated. Could we update it to the current syntax?my attempt got it to compile but did not enable me to use readline (by trying to simply copy the code).
Does anyone have a suggestion on how to make this work and whether there's a github repo for the documentation to send a PR to? (I couldn't find one.)
The text was updated successfully, but these errors were encountered: