4 ms·
The unstable warning preventing you from wrapping the comments actually seems pretty reasonable to me. It is implemented, but there are probably edge cases whe
by TheCoreh 3y ago
The unstable warning preventing you from wrapping the comments actually seems pretty reasonable to me.
It is implemented, but there are probably edge cases where the proper way to wrap and retain the best possible formatting is still disputed. Since a lot of people format on save, via commit hooks or during CI, having this feature enabled as stable and _changing the behavior later_ would cause massive annoying diffs in the future, or CI failures for a ton of projects.
- ender341341 3y agoother posts pointed out the issue, it breaks certain markdown formatted comments (mainly tables).
- pdimitar 3y agoIt would be very valuable if that was part of the tool's explanation then.
- tedunangst 3y agoGating it behind nightly is just bizarre though. Today's nightly, where the feature is available, will turn into 1.76 or whatever, but then the feature will become unavailable again. That is not how normal software works.
- deleted 3y ago[deleted]
- NobodyNada 3y agoI don't know the intention of the Rust team, but maybe it's because of the difference in release cycles: if a bug is found in an unstable feature today, it can be fixed by tomorrow's nightly build, but it won't make it into stable until at least February. Presumably, the maintainers don't want to release code that is in flux and under active development under the same 6-week release cycle that they release stable, well-tested code.
- cedilla 3y agoNot all patches will be automatically pulled into the next stable release. Features can stay in nightly for a long time while their bugs are getting ironed out.