Skip to content

Commit a4c895b

Browse files
authored
rust-for-windows.md: Improve readability (#3650)
Change "beginning" to "begin" to make the sentence easier to read. My editor also cleaned up a few places in the file with trailing whitespace.
1 parent 42925eb commit a4c895b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hub/dev-environment/rust/rust-for-windows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Rust for Windows, and the windows crate
33
description: Using the *windows* crate, and calling Windows APIs.
44
author: stevewhims
5-
ms.author: stwhi
5+
ms.author: stwhi
66
manager: jken
77
ms.topic: article
88
keywords: rust, windows 10, microsoft, learning rust, rust on windows for beginners, rust with vs code, rust for windows
@@ -19,15 +19,15 @@ ms.date: 03/04/2021
1919

2020
In the [Overview of developing on Windows with Rust](overview.md) topic, we demonstrated a simple app that outputs a *Hello, world!* message. But not only can you use Rust *on* Windows, you can also write apps *for* Windows using Rust.
2121

22-
You can find all of the latest updates in the [Release log of the Rust for Windows repo](https://github.com/microsoft/windows-rs/releases) on GitHub.
22+
You can find all of the latest updates in the [Release log of the Rust for Windows repo](https://github.com/microsoft/windows-rs/releases) on GitHub.
2323

2424
Rust for Windows lets you use any Windows API (past, present, and future) directly and seamlessly via [the *windows* crate](https://crates.io/crates/windows) (*crate* is Rust's term for a binary or a library, and/or the source code that builds into one).
2525

2626
Whether it's timeless functions such as [CreateEventW](/windows/win32/api/synchapi/nf-synchapi-createeventw) and [WaitForSingleObject](/windows/win32/api/synchapi/nf-synchapi-waitforsingleobject), powerful graphics engines such as [Direct3D](/windows/win32/direct3d12/directx-12-programming-guide), traditional windowing functions such as [CreateWindowExW](/windows/win32/api/winuser/nf-winuser-createwindowexw) and [DispatchMessageW](/windows/win32/api/winuser/nf-winuser-dispatchmessagew), or more recent user interface (UI) frameworks such as [Composition](/uwp/api/windows.ui.composition) and [Xaml](/uwp/api/windows.ui.xaml), [the *windows* crate](https://crates.io/crates/windows) has you covered.
2727

2828
The [win32metadata](https://github.com/microsoft/win32metadata) project aims to provide metadata for Win32 APIs. This metadata describes the API surface—strongly-typed API signatures, parameters, and types. This enables the entire Windows API to be projected in an automated and complete way for consumption by Rust (as well as languages such as C# and C++). Also see [Making Win32 APIs more accessible to more languages](https://blogs.windows.com/windowsdeveloper/2021/01/21/making-win32-apis-more-accessible-to-more-languages/).
2929

30-
As a Rust developer, you'll use Cargo (Rust's package management tool)—along with `https://crates.io` (the Rust community's crate registry)—to manage the dependencies in your projects. The good news is that you can reference [the *windows* crate](https://crates.io/crates/windows) from your Rust apps, and then immediately beginning calling Windows APIs. You can also find Rust [documentation for the *windows* crate](https://docs.rs/windows/latest/windows/) over on `https://docs.rs`.
30+
As a Rust developer, you'll use Cargo (Rust's package management tool)—along with `https://crates.io` (the Rust community's crate registry)—to manage the dependencies in your projects. The good news is that you can reference [the *windows* crate](https://crates.io/crates/windows) from your Rust apps, and then immediately begin calling Windows APIs. You can also find Rust [documentation for the *windows* crate](https://docs.rs/windows/latest/windows/) over on `https://docs.rs`.
3131

3232
Similar to [C++/WinRT](/windows/uwp/cpp-and-winrt-apis/), [Rust for Windows](https://github.com/microsoft/windows-rs) is an open source language projection developed on GitHub. Use the [Rust for Windows](https://github.com/microsoft/windows-rs) repo if you have questions about Rust for Windows, or if you wish to report issues with it.
3333

0 commit comments

Comments
 (0)