mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Bump Rust to 1.59.0
This commit is contained in:
@@ -740,6 +740,7 @@ impl Constant {
|
||||
matches!(self, Self::Undef { .. })
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn typecast(self, target_dtype: Dtype) -> Self {
|
||||
if self.dtype() == target_dtype {
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user