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:
@@ -881,6 +881,7 @@ impl Dtype {
|
||||
}
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn set_const(self, is_const: bool) -> Self {
|
||||
match self {
|
||||
Self::Unit { .. } => Self::Unit { is_const },
|
||||
@@ -998,6 +999,7 @@ impl Dtype {
|
||||
}
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn set_signed(self, is_signed: bool) -> Self {
|
||||
match self {
|
||||
Self::Int {
|
||||
|
||||
Reference in New Issue
Block a user