mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-20 18:30:34 +01:00
util: rust: spelling and whitespace fixes
Reviewed-by: Aaron Ruby <aruby@qnx.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37410>
This commit is contained in:
parent
03a4d7ff7e
commit
08fb1c16b4
2 changed files with 5 additions and 5 deletions
|
|
@ -18,11 +18,11 @@ pub enum MesaError {
|
|||
/// An error with the MesaHandle
|
||||
#[error("invalid Mesa handle")]
|
||||
InvalidMesaHandle,
|
||||
/// An input/output error occured.
|
||||
#[error("an input/output error occur: {0}")]
|
||||
/// An input/output error occurred.
|
||||
#[error("an input/output error occurred: {0}")]
|
||||
IoError(IoError),
|
||||
/// Nul crate error.
|
||||
#[error("Nul Error occured {0}")]
|
||||
#[error("Nul Error occurred {0}")]
|
||||
NulError(NulError),
|
||||
/// Rustix crate error.
|
||||
#[cfg(any(target_os = "android", target_os = "linux"))]
|
||||
|
|
@ -35,7 +35,7 @@ pub enum MesaError {
|
|||
#[error("the requested function is not implemented")]
|
||||
Unsupported,
|
||||
/// Utf8 error.
|
||||
#[error("an utf8 error occured: {0}")]
|
||||
#[error("an utf8 error occurred: {0}")]
|
||||
Utf8Error(Utf8Error),
|
||||
/// An error with a free form context, similar to anyhow
|
||||
#[error("operation failed: {0}")]
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ if host_machine.system() == 'linux'
|
|||
fallback: ['errno-0.3-rs', 'dep_errno'],
|
||||
required: true,
|
||||
)
|
||||
|
||||
|
||||
dep_mesa3d_util += [dep_rustix, dep_bitflags, dep_errno]
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue