Skip to content

Commit

Permalink
Add Default for ASCOMErrorCode
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Sep 14, 2024
1 parent 6e188dc commit 3becb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::borrow::Cow;
use thiserror::Error;

/// Alpaca representation of an ASCOM error code.
#[derive(Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
#[derive(Default, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
#[serde(transparent)]
pub struct ASCOMErrorCode(u16);

Expand Down

0 comments on commit 3becb0b

Please sign in to comment.