We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71609c5 commit 2cb56eeCopy full SHA for 2cb56ee
src/formatting/cargo_toml.rs
@@ -6,9 +6,9 @@ use toml_edit::{
6
7
use crate::{Config, ErrorKind};
8
9
-/// Format `Cargo.toml` according to [the Style Guide]
+/// Format `Cargo.toml` according to [the Style Guide].
10
///
11
-/// [the Style Guide]: https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/cargo.md).
+/// [the Style Guide]: https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/cargo.md
12
pub(crate) fn format_cargo_toml_inner(content: &str, config: &Config) -> Result<String, ErrorKind> {
13
let mut doc = content.parse::<toml_edit::Document>()?;
14
let rules = [
0 commit comments