From 39b41a4a471d687f0c9b9a8333683bec976cbc3f Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Fri, 9 Feb 2018 19:04:11 -0800 Subject: [PATCH] Fix typo in util::Align documentation --- ash/src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ash/src/util.rs b/ash/src/util.rs index 78e3070..917333a 100644 --- a/ash/src/util.rs +++ b/ash/src/util.rs @@ -7,7 +7,7 @@ use vk; /// the alignment might be different. For example a 4x4 f32 matrix has a size of 64 bytes /// but the min alignment for a dynamic uniform buffer might be 256 bytes. A slice of `&[Mat4x4]` /// has a memory layout of `[[64 bytes], [64 bytes], [64 bytes]]`, but it might need to have a memory -/// layout of `[[256 bytes], [256 bytes], [256 bytes]]. +/// layout of `[[256 bytes], [256 bytes], [256 bytes]]`. /// `Align::copy_from_slice` will copy a slice of `&[T]` directly into the host memory without /// an additional allocation and with the correct alignment. #[derive(Debug, Clone)]