Skip to content

Commit

Permalink
refactor: change other type reserved method name to ty.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhuene committed Feb 6, 2025
1 parent 7e3d34b commit b4ba9c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crankshaft-engine/src/task/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub struct Input {

/// The type of the input.
#[builder(into)]
r#type: Type,
ty: Type,
}

impl Input {
Expand All @@ -65,8 +65,8 @@ impl Input {
}

/// The type of the container.
pub fn r#type(&self) -> &Type {
&self.r#type
pub fn ty(&self) -> &Type {
&self.ty
}

/// Fetches the file contents via an [`AsyncRead`]er.
Expand Down

0 comments on commit b4ba9c7

Please sign in to comment.