From 40e49ad7e92bf26cc45ead88d6f0e4eb312552cf Mon Sep 17 00:00:00 2001 From: Drakulix Date: Thu, 15 Jun 2017 13:33:43 +0200 Subject: [PATCH] Fix typos --- src/backend/graphics/egl.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/graphics/egl.rs b/src/backend/graphics/egl.rs index 487a296..6fe3d0a 100644 --- a/src/backend/graphics/egl.rs +++ b/src/backend/graphics/egl.rs @@ -168,8 +168,8 @@ impl EGLContext { /// /// # Unsafety /// - /// This method is marked unsafe, because the contents of `NativeDisplay` cannot be verified and msy - /// contain dangeling pointers are similar unsafe content + /// This method is marked unsafe, because the contents of `NativeDisplay` cannot be verified and may + /// contain dangling pointers or similar unsafe content pub unsafe fn new(native: NativeDisplay, mut attributes: GlAttributes, reqs: PixelFormatRequirements, logger: L) -> Result @@ -563,8 +563,8 @@ impl EGLContext { /// /// # Unsafety /// - /// This method is marked unsafe, because the contents of `NativeSurface` cannot be verified and msy - /// contain dangeling pointers are similar unsafe content + /// This method is marked unsafe, because the contents of `NativeSurface` cannot be verified and may + /// contain dangling pointers or similar unsafe content pub unsafe fn create_surface<'a>(&'a self, native: NativeSurface) -> Result, CreationError> { trace!(self.logger, "Creating EGL window surface...");