Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require all Proxied types to be Sized.
This is currently true and required by the IntoProxied trait. In Rust all type parameters are explicitly marked `Sized`, except for `Self` [1]. By marking `Proxied` as `Sized` we can write `IntoProxied<Self>` in generic code without having to add 'where Self: Sized` clauses. An implication of this change is that Proxied can no longer be used from a trait object i.e. `let x: dyn &Proxied = &foo` will not compile. We are not anticipating such use cases at this point. [1] https://doc.rust-lang.org/std/marker/trait.Sized.html PiperOrigin-RevId: 649010900
- Loading branch information