typo: ctrc -> crtc in drm/mod.rs

This commit is contained in:
Victor Brekenfeld 2020-04-19 22:24:03 +02:00
parent 9127502066
commit 35943fc56a
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ pub trait Device: AsRawFd + DevPath {
/// The number of crtc's represent the number of independant output devices the hardware may handle. /// The number of crtc's represent the number of independant output devices the hardware may handle.
fn create_surface( fn create_surface(
&mut self, &mut self,
ctrc: crtc::Handle, crtc: crtc::Handle,
) -> Result<Self::Surface, <Self::Surface as Surface>::Error>; ) -> Result<Self::Surface, <Self::Surface as Surface>::Error>;
/// Processes any open events of the underlying file descriptor. /// Processes any open events of the underlying file descriptor.