You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: text/0000-const-trait-impls.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -658,7 +658,7 @@ We may relax this requirement in the future or make it implied.
658
658
659
659
## `(const)` bounds on `Drop` impls
660
660
661
-
It is legal to add `(const)` to `Drop` impls' bounds, even thought the struct doesn't have them:
661
+
It is legal to add `(const)` to `Drop` impls' bounds, even though the struct doesn't have them:
662
662
663
663
```rust
664
664
consttraitBar {
@@ -714,7 +714,7 @@ note: the implementor must specify the same requirement
714
714
715
715
## Adding any feature at all around constness
716
716
717
-
I think we've reached the point where all critics have agreed that this one kind of effect system is unavoidable since we want to be able to write maintainable code for compile time evaluation.
717
+
I think we've reached the point where all critics have agreed that this one kind of effect system is unavoidable since we want to be able to write maintainable generic code for compile time evaluation.
718
718
719
719
So the main drawback is that it creates interest in extending the system or add more effect systems, as we have now opened the door with an effect system that supports traits.
720
720
Even though I personally am interested in adding an effect for panic-freedom, I do not think that adding this const effect system should have any bearing on whether we'll add
0 commit comments