From 6271615397a74cfc340cacef1e70a016ab126cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0vejda?= Date: Mon, 27 May 2024 23:13:36 +0200 Subject: [PATCH] Fix typos in surface tutorial --- docs/beginner/tutorial2-surface/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/beginner/tutorial2-surface/README.md b/docs/beginner/tutorial2-surface/README.md index 7662d768..b946fe22 100644 --- a/docs/beginner/tutorial2-surface/README.md +++ b/docs/beginner/tutorial2-surface/README.md @@ -148,7 +148,7 @@ The `features` field on `DeviceDescriptor` allows us to specify what extra featu
-The graphics card you haverequired_limits the features you can use. If you want to use certain features, you may need to limit what devices you support or provide workarounds. +The graphics card you have limits the features you can use. If you want to use certain features, you may need to limit what devices you support or provide workarounds. You can get a list of features supported by your device using `adapter.features()` or `device.features()`. @@ -156,7 +156,7 @@ You can view a full list of features [here](https://docs.rs/wgpu/latest/wgpu/str
-The `limits` field describes the limit of certain types of resources that we can create. We'll use the defaults for this tutorial so we can support most devices. You can view a list ofrequired_limits [here](https://docs.rs/wgpu/latest/wgpu/struct.Limits.html). +The `limits` field describes the limit of certain types of resources that we can create. We'll use the defaults for this tutorial so we can support most devices. You can view a list of limits [here](https://docs.rs/wgpu/latest/wgpu/struct.Limits.html). ```rust let surface_caps = surface.get_capabilities(&adapter);