Skip to content

Commit

Permalink
Disable the missing_copy_implementations lint
Browse files Browse the repository at this point in the history
As we will be adding more actions to this enum in
the future, it will soon become non-Copyable so
we don't want this lint triggering.
  • Loading branch information
milliams committed Oct 15, 2023
1 parent 9927dae commit 80a5b61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compute/servers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ impl Server {
/// An action to perform on a server.
#[derive(Clone, Debug, Serialize)]
#[non_exhaustive]
#[allow(missing_copy_implementations)]
pub enum ServerAction {
/// Starts a stopped server.
#[serde(rename = "os-start", serialize_with = "unit_to_null")]
Expand Down

0 comments on commit 80a5b61

Please sign in to comment.