Fix typos
This commit is contained in:
parent
5155b44946
commit
40e49ad7e9
|
@ -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...");
|
||||||
|
|
Loading…
Reference in New Issue