pci: slightly change safety comment style

Make them start with "SAFETY" so it is more concise and easy to spot.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2021-11-17 13:30:17 +00:00
committed by Rob Bradford
parent 8ee253cd3f
commit d2d6eb0591
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -961,7 +961,7 @@ mod tests {
foo: u8,
}
// It is safe to implement BytesValued; all members are simple numbers and any value is valid.
// SAFETY: All members are simple numbers and any value is valid.
unsafe impl ByteValued for TestCap {}
impl PciCapability for TestCap {