]> git.nihav.org Git - nihav.git/commitdiff
nihav_core/formats: correct spelling for one function
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 28 Jan 2026 17:50:20 +0000 (18:50 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 28 Jan 2026 17:50:20 +0000 (18:50 +0100)
nihav-core/src/formats.rs

index bdb0f40b4d908ea750974c97b2563798cc767ec6..80f8c780e098ea611fe4f03faa01c3d02b83e636 100644 (file)
@@ -146,8 +146,8 @@ pub enum NAChannelType {
 }
 
 impl NAChannelType {
-    /// Reports whether this is some center channel.
-    pub fn is_center(self) -> bool {
+    /// Reports whether this is some centre channel.
+    pub fn is_centre(self) -> bool {
         matches!(self,
             NAChannelType::C   | NAChannelType::Ch |
             NAChannelType::Cl  | NAChannelType::Ov |