Fix typos

This commit is contained in:
Drakulix 2017-06-15 13:33:43 +02:00
parent 5155b44946
commit 40e49ad7e9
1 changed files with 4 additions and 4 deletions

View File

@ -168,8 +168,8 @@ impl EGLContext {
/// ///
/// # Unsafety /// # Unsafety
/// ///
/// This method is marked unsafe, because the contents of `NativeDisplay` cannot be verified and msy /// This method is marked unsafe, because the contents of `NativeDisplay` cannot be verified and may
/// contain dangeling pointers are similar unsafe content /// contain dangling pointers or similar unsafe content
pub unsafe fn new<L>(native: NativeDisplay, mut attributes: GlAttributes, pub unsafe fn new<L>(native: NativeDisplay, mut attributes: GlAttributes,
reqs: PixelFormatRequirements, logger: L) reqs: PixelFormatRequirements, logger: L)
-> Result<EGLContext, CreationError> -> Result<EGLContext, CreationError>
@ -563,8 +563,8 @@ impl EGLContext {
/// ///
/// # Unsafety /// # Unsafety
/// ///
/// This method is marked unsafe, because the contents of `NativeSurface` cannot be verified and msy /// This method is marked unsafe, because the contents of `NativeSurface` cannot be verified and may
/// contain dangeling pointers are similar unsafe content /// contain dangling pointers or similar unsafe content
pub unsafe fn create_surface<'a>(&'a self, native: NativeSurface) pub unsafe fn create_surface<'a>(&'a self, native: NativeSurface)
-> Result<EGLSurface<'a>, CreationError> { -> Result<EGLSurface<'a>, CreationError> {
trace!(self.logger, "Creating EGL window surface..."); trace!(self.logger, "Creating EGL window surface...");