Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #10705 - Muscraft:workspace-source-fmt-key, r=epage
fix key formatting when switching to a dotted `WorkspaceSource` This fell out of #10697 see [this comment](#10697 (comment)) There was a small issue where changing the source of a `cargo_add::Dependency` to a `WorkspaceSource` would cause the dotted version to have extra space. ```toml dep .workspace = true dep.workspace = true ``` This makes sure the key is formatted as well as adds a unit test to make sure this doesn't come back up in the future. r? `@epage`
- Loading branch information