浏览代码

Correct copy-paste typo

Isaac Woods 5 年之前
父节点
当前提交
0fb4ad6456
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      aml_parser/src/type1.rs

+ 1 - 1
aml_parser/src/type1.rs

@@ -6,7 +6,7 @@ use crate::{
     AmlError,
     AmlError,
 };
 };
 
 
-/// Type 1 opcodes return a value and so can be used in expressions.
+/// Type 1 opcodes do not return a value and so can't be used in expressions.
 pub fn type1_opcode<'a, 'c>() -> impl Parser<'a, 'c, ()>
 pub fn type1_opcode<'a, 'c>() -> impl Parser<'a, 'c, ()>
 where
 where
     'c: 'a,
     'c: 'a,