Comments (7)
Somewhat related, the book has a section on casting semantics that maybe should be copied/moved into the reference:
https://doc.rust-lang.org/book/casting-between-types.html
Though, it doesn't look like there's much there on enum casting
from reference.
@aturon so, here's an interesting wrinkle. We were talking about getting the lang team and the docs team together to tackle issues like this one, but given this is in the nursery and not rust-lang, I can't cc @rust-lang/lang ๐ฆ
from reference.
@steveklabnik Whelp! I guess there are basically two options here:
- Add in the teams to the nursery, which would probably be useful across the board.
- Move the reference to rust-lang.
I'm not sure what the status of the latter is. Was there some particular "graduation" point we had in mind?
from reference.
Was there some particular "graduation" point we had in mind?
I said "hey @alexcrichton ! Should this go in the nursery or rust-lang. I don't care." He shugged. So we asked @brson. He said "Eh given its level of polish let's put it in the nursery", to which alex and I said ๐ .
So, it was basically a coinflip, and we didn't have any particular criteria set up.
from reference.
Heh, alright! Let's keep this in mind when we set up the docs + lang team discussion soon.
from reference.
This is now fixed: https://doc.rust-lang.org/nightly/reference/items/enumerations.html
from reference.
yep! looks like @Havvy took care of this in #156 ๐
from reference.
Related Issues (20)
- Doucment how raw-dylib finds DLLs at runtime HOT 1
- Possible outdated list of architectures for the support of asm! ? HOT 2
- How to protect meaningful sub type? HOT 2
- should have document on best practice about how to `throw custom error` HOT 3
- [feat] some rust docs example can adopt incorrect-example-vs-correct-example-style
- Default trait object lifetimes section is quite inaccurate HOT 2
- TupleStructPattern misses RestPattern HOT 2
- Guarantee that uninitialized bytes have no bit validity
- types/closure is not accurate. We don't need to use a new variable when capturing a field from a struct HOT 1
- Warn that `repr(packed)` and `repr(align)` do not guarantee field order, and as a result do not guarantee size
- Clarify how types are constructed from function items
- macros-by-example: repetitions, example seems not correct HOT 2
- Document that `Option<char>` has the same size and alignment as `char` on all platforms HOT 1
- UB: Dangling Pointer, ZSTs. HOT 3
- Rust tools HOT 1
- Section on Object Safety does not explicitly mention when Self is a type parameter HOT 1
- Add tests for content-visibility changes and used value of contain. by fred-wang ยท Pull Request #43662 ยท web-platform-tests/wpt ยท GitHub HOT 1
- Should `#[automatically_derived]` docs contain advice for derive macros?
- GitHub - huggingface/transformers: ๐ค Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
- `Self` receiver does *not* imply `Self: Sized` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reference.