This commit is contained in:
Dominik Maier 2023-08-12 03:24:06 +02:00 committed by GitHub
parent a55d40cd00
commit b9879a8bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ impl CoreId {
/// ///
pub fn set_affinity(&self) -> Result<(), Error> { pub fn set_affinity(&self) -> Result<(), Error> {
match set_for_current_helper(*self) { match set_for_current_helper(*self) {
Ok(_) | Err(Error::Unsupported(_, _)) => Ok(()), Ok(()) | Err(Error::Unsupported(_, _)) => Ok(()),
Err(e) => Err(e), Err(e) => Err(e),
} }
} }