Skip to content

Commit

Permalink
rm comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberHoward committed Aug 14, 2024
1 parent 9df3a7a commit 2e33b2b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/ownable/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ impl<T: AddressLike> Ownership<T> {
}
}

// This is a nice helper, maybe move to dedicated utils package?
fn none_or<T: Display>(or: Option<&T>) -> String {
or.map_or_else(|| "none".to_string(), |or| or.to_string())
}
Expand Down

0 comments on commit 2e33b2b

Please sign in to comment.