diff options
| author | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2021-10-24 14:56:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-24 14:56:55 -0500 |
| commit | 50369f5bc03e3011ae8383cc3cbb85ae51fe9276 (patch) | |
| tree | 420e7b7c3a4cac951d06bf2a48e0bd3bc4f1fe5c | |
| parent | 599b2fd9c47f913c6c3540b4805528d8bacd3d7e (diff) | |
| parent | 757da8c617d98af29018f08c15a53c5dab0518fb (diff) | |
| download | rust-50369f5bc03e3011ae8383cc3cbb85ae51fe9276.tar.gz rust-50369f5bc03e3011ae8383cc3cbb85ae51fe9276.zip | |
Merge pull request #5043 from calebcartwright/another-subtree-sync
sync subtree
| -rw-r--r-- | src/comment.rs | 2 | ||||
| -rw-r--r-- | tests/cargo-fmt/source/workspaces/path-dep-above/e/Cargo.toml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/comment.rs b/src/comment.rs index 60825424858..dc4f4516252 100644 --- a/src/comment.rs +++ b/src/comment.rs @@ -403,7 +403,7 @@ enum CodeBlockAttribute { impl CodeBlockAttribute { /// Parse comma separated attributes list. Return rust only if all /// attributes are valid rust attributes - /// See https://doc.rust-lang.org/rustdoc/print.html#attributes + /// See <https://doc.rust-lang.org/rustdoc/print.html#attributes> fn new(attributes: &str) -> CodeBlockAttribute { for attribute in attributes.split(",") { match attribute.trim() { diff --git a/tests/cargo-fmt/source/workspaces/path-dep-above/e/Cargo.toml b/tests/cargo-fmt/source/workspaces/path-dep-above/e/Cargo.toml index df1886c82be..eaf1d76f999 100644 --- a/tests/cargo-fmt/source/workspaces/path-dep-above/e/Cargo.toml +++ b/tests/cargo-fmt/source/workspaces/path-dep-above/e/Cargo.toml @@ -4,3 +4,5 @@ version = "0.1.0" edition = "2018" [dependencies] c = { path = "../ws/c" } + +[workspace] |
