summaryrefslogtreecommitdiff
path: root/opengl-bindings/src/buffer.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-05-23 19:56:41 +0200
committerHampusM <hampus@hampusmat.com>2026-05-23 19:56:41 +0200
commit8a41f5aeb3ac143d731928d1c343cd9338190f0a (patch)
treea7a8bba7e119354abbaa9fff6ec4e16d2f66b829 /opengl-bindings/src/buffer.rs
parent02afe68342870ce4f37d7e8fb45c985397d6e08d (diff)
style: format for Rust edition 2021HEADmaster
Diffstat (limited to 'opengl-bindings/src/buffer.rs')
-rw-r--r--opengl-bindings/src/buffer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl-bindings/src/buffer.rs b/opengl-bindings/src/buffer.rs
index 6fb3c2f..edbf2a3 100644
--- a/opengl-bindings/src/buffer.rs
+++ b/opengl-bindings/src/buffer.rs
@@ -171,7 +171,7 @@ impl<Item: ReprC> Buffer<Item>
let Ok(offset_casted) = crate::sys::types::GLintptr::try_from(offset) else {
unreachable!(); // Reason: The total size can be casted to a GLintptr
- // (done above) so offsets should be castable as well
+ // (done above) so offsets should be castable as well
};
unsafe {