Prevent non-clone types from entering cloneable layer (#2834)
## Motivation and Context
There is a bug in cloneable layer that allows non-clone types to enter
## Description
Remove `DerefMut` and resolve the consequences
## Testing
- new doc test
- existing orchestrator CI
## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [ ] I have updated `CHANGELOG.next.toml` if I made changes to the
smithy-rs codegen or runtime crates
- [ ] I have updated `CHANGELOG.next.toml` if I made changes to the AWS
SDK, generated SDK code, or SDK runtime crates
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
---------
Co-authored-by:
John DiSanti <jdisanti@amazon.com>
Loading
Please register or sign in to comment