1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-11-27 00:21:07 +02:00

Consistently use **Note:** instead of **Note**: (#2902)

I think the former is slightly nicer: I see `:` as belonging to the
poor-mans heading we create with the bold text.
This commit is contained in:
Martin Geisler
2025-09-18 18:14:25 +02:00
committed by GitHub
parent 63e50a8058
commit 2955c03231
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ Please also add an `OWNERS` file in the latter location.
You should land all this, along with your `Cargo.toml` and `gnrt_config.toml`
changes, into the Chromium repo.
**Important**: you need to use `git add -f` because otherwise `.gitignore` files
**Important:** you need to use `git add -f` because otherwise `.gitignore` files
may result in some files being skipped.
As you do so, you might find presubmit checks fail because of non-inclusive

View File

@@ -20,7 +20,7 @@ Point out:
- Calls from C++ to Rust, and Rust types (in the top part)
- Calls from Rust to C++, and C++ types (in the bottom part)
**Common misconception**: It _looks_ like a C++ header is being parsed by Rust,
**Common misconception:** It _looks_ like a C++ header is being parsed by Rust,
but this is misleading. This header is never interpreted by Rust, but simply
`#include`d in the generated C++ code for the benefit of C++ compilers.

View File

@@ -11,7 +11,7 @@ pub extern "C" fn hello_from_rust() {
}
```
**Important**: note that `no_mangle` here is considered a type of unsafety by
**Important:** note that `no_mangle` here is considered a type of unsafety by
the Rust compiler, so you'll need to allow unsafe code in your `gn` target.
Add this new Rust target as a dependency of `//ui/base:base`. Declare this