Re: [dev-servo] JST guide

2014-03-05 Thread Niko Matsakis
Note: the first PR related to overloadable deref has landed. This means that the `get()` and `get_mut()` methods can go away and be replaced with an overloaded `*` operator. For now, the derefs must be explicit. I'm still reviewing the second part of this work, which integrates with auto-deref.

Re: [dev-servo] JST guide

2014-03-05 Thread Simon Sapin
On 04/03/2014 22:33, Josh Matthews wrote: I've started a guide to try and clear up how to use them; please feel free to suggest further topics or make edits yourself:https://github.com/mozilla/servo/wiki/JS-smart-pointers The guide says: Downcasting is an unsafe operation, so you must be