Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make commented examples use valid syntax, and be more consistent #73538

Merged
merged 5 commits into from
Jun 26, 2020
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@

# Python interpreter to use for various tasks throughout the build, notably
# rustdoc tests, the lldb python interpreter, and some dist bits and pieces.
#
# Defaults to the Python interpreter used to execute x.py.
#python = "python"
#python = "python" # defaults to the Python interpreter used to execute x.py

This comment was marked as resolved.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's true, it did seem to blend in to me.


# Force Cargo to check that Cargo.lock describes the precise dependency
# set that all the Cargo.toml files create, instead of updating it.
Expand Down Expand Up @@ -313,11 +311,11 @@

# Whether or not debug assertions are enabled for the compiler and standard
# library.
#debug-assertions = debug
#debug-assertions = false # defaults to rust.debug value

# Whether or not debug assertions are enabled for the standard library.
# Overrides the `debug-assertions` option, if defined.
#debug-assertions-std = debug-assertions
#debug-assertions-std = false # defaults to rust.debug value

# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
# `0` - no debug info
Expand All @@ -326,16 +324,16 @@
# Can be overridden for specific subsets of Rust code (rustc, std or tools).
# Debuginfo for tests run with compiletest is not controlled by this option
# and needs to be enabled separately with `debuginfo-level-tests`.
#debuginfo-level = if debug { 2 } else { 0 }
#debuginfo-level = 0 # defaults to 2 if debug is true

# Debuginfo level for the compiler.
#debuginfo-level-rustc = debuginfo-level
#debuginfo-level-rustc = 0 # defaults to rust.debuginfo-level value

# Debuginfo level for the standard library.
#debuginfo-level-std = debuginfo-level
#debuginfo-level-std = 0 # defaults to rust.debuginfo-level value

# Debuginfo level for the tools.
#debuginfo-level-tools = debuginfo-level
#debuginfo-level-tools = 0 # defaults to rust.debuginfo-level value

# Debuginfo level for the test suites run with compiletest.
# FIXME(#61117): Some tests fail when this option is enabled.
Expand Down