Fix invalid TOML syntax in examples of "config-settings" docs (#5809)

## Summary

The snippet generated TOML errors when I copy/pasted it in my config
file, I believe there was a typo. 👍

## Test Plan

N/A
This commit is contained in:
Delgan
2024-08-06 10:17:54 +02:00
committed by GitHub
parent 552c75cf49
commit 3a24aecb2c
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -312,7 +312,7 @@ pub struct ResolverInstallerOptions {
default = "{}",
value_type = "dict",
example = r#"
config-settings = { "editable_mode": "compat" }
config-settings = { editable_mode = "compat" }
"#
)]
pub config_settings: Option<ConfigSettings>,
@@ -843,7 +843,7 @@ pub struct PipOptions {
default = "{}",
value_type = "dict",
example = r#"
config-settings = { "editable_mode": "compat" }
config-settings = { editable_mode = "compat" }
"#
)]
pub config_settings: Option<ConfigSettings>,
+4 -4
View File
@@ -76,13 +76,13 @@ specified as `KEY=VALUE` pairs.
```toml
[tool.uv]
config-settings = { "editable_mode": "compat" }
config-settings = { editable_mode = "compat" }
```
=== "uv.toml"
```toml
config-settings = { "editable_mode": "compat" }
config-settings = { editable_mode = "compat" }
```
---
@@ -1063,13 +1063,13 @@ specified as `KEY=VALUE` pairs.
```toml
[tool.uv.pip]
config-settings = { "editable_mode": "compat" }
config-settings = { editable_mode = "compat" }
```
=== "uv.toml"
```toml
[pip]
config-settings = { "editable_mode": "compat" }
config-settings = { editable_mode = "compat" }
```
---