Skip to content

Commit f98516d

Browse files
committed
Update blockquotes
1 parent 4300ea4 commit f98516d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/languages/rust.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ MetaDescription: Learn about Visual Studio Code editor features (code completion
1313

1414
![Rust extension banner](images/rust/rust-analyzer-extension.png)
1515

16-
>**Note**: There is also another popular Rust extension in the VS Code Marketplace (extension ID: rust-lang.rust) but this extension is deprecated and rust-analyzer is the recommended VS Code Rust extension by rust-lang.org.
16+
> [!NOTE]
17+
> There is also another popular Rust extension in the VS Code Marketplace (extension ID: rust-lang.rust) but this extension is deprecated and rust-analyzer is the recommended VS Code Rust extension by rust-lang.org.
1718
1819
## Installation
1920

2021
### 1. Install Rust
2122

2223
First you will need to have the Rust toolset installed on your machine. Rust is installed via the [rustup](https://rustup.rs) installer, which supports installation on Windows, macOS, and Linux. Follow the rustup installation guidance for your platform, taking care to install any extra tools required to build and run Rust programs.
2324

24-
>**Note**: As with installing any new toolset on your machine, you'll want to make sure to restart your terminal/Command Prompt and VS Code instances to use the updated toolset location in your platform's PATH variable.
25+
> [!NOTE]
26+
> As with installing any new toolset on your machine, you'll want to make sure to restart your terminal/Command Prompt and VS Code instances to use the updated toolset location in your platform's PATH variable.
2527
2628
### 2. Install the rust-analyzer extension
2729

@@ -76,7 +78,8 @@ cd hello_world
7678
code .
7779
```
7880

79-
>**Note**: Enable [Workspace Trust](/docs/editing/workspaces/workspace-trust.md) for the new folder as you are the author. You can enable Workspace Trust for your entire project folder parent to avoid being prompted when you create new projects by checking the option to **Trust the authors of all the files in parent folder 'my_projects`**.
81+
> [!NOTE]
82+
> Enable [Workspace Trust](/docs/editing/workspaces/workspace-trust.md) for the new folder as you are the author. You can enable Workspace Trust for your entire project folder parent to avoid being prompted when you create new projects by checking the option to **Trust the authors of all the files in parent folder 'my_projects`**.
8083
8184
`cargo new` creates a simple Hello World project with a `main.rs` source code file and `Cargo.toml` [Cargo manifest](https://doc.rust-lang.org/cargo/reference/manifest.html) file.
8285

@@ -149,7 +152,8 @@ As you type in a Rust file, IntelliSense provides you with suggested completions
149152

150153
![Smart completion for Rust String member](images/rust/code-completions.png)
151154

152-
>**Tip**: Use `kb(editor.action.triggerSuggest)` to trigger the suggestions manually.
155+
> [!TIP]
156+
> Use `kb(editor.action.triggerSuggest)` to trigger the suggestions manually.
153157
154158
## Semantic syntax highlighting
155159

@@ -298,7 +302,8 @@ If you see linker errors such as **"error: linker `link.exe` not found"** when y
298302

299303
On Windows, you will need to also install [Microsoft C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) in order to get the C/C++ linker `link.exe`. Be sure to select the **Desktop Development with C++** when running the Visual Studio installer.
300304

301-
>**Note**: You can use the C++ toolset from Visual Studio Build Tools along with Visual Studio Code to compile, build, and verify any codebase as long as you also have a valid Visual Studio license (either Community, Pro, or Enterprise).
305+
> [!NOTE]
306+
> You can use the C++ toolset from Visual Studio Build Tools along with Visual Studio Code to compile, build, and verify any codebase as long as you also have a valid Visual Studio license (either Community, Pro, or Enterprise).
302307
303308
**macOS**
304309

0 commit comments

Comments
 (0)