Skip to content

Commit 2f7060a

Browse files
committed
Fix non-exhaustive pattern in selinux doc test
1 parent 8c69cd0 commit 2f7060a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/uucore/src/lib/features/selinux.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ pub fn set_selinux_security_context(
219219
/// Err(SeLinuxError::ContextRetrievalFailure(e)) => println!("Failed to retrieve the security context: {e}"),
220220
/// Err(SeLinuxError::ContextConversionFailure(ctx, e)) => println!("Failed to convert context '{ctx}': {e}"),
221221
/// Err(SeLinuxError::ContextSetFailure(ctx, e)) => println!("Failed to set context '{ctx}': {e}"),
222+
/// Err(SeLinuxError::OperationNotSupported) => println!("Operation not supported"),
222223
/// }
223224
/// ```
224225
pub fn get_selinux_security_context(

0 commit comments

Comments
 (0)