X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=rust%2Fsrc%2Fformat.rs;h=9f285a9dd6710624564f90fea197b56307bad82c;hb=e0cbdf0daefcca81be9572aab0deedf945687f5a;hp=34798ed65af54c5072f717de94381fdd74827414;hpb=c953078638501b58b8efbdfebb05559103a7a3b6;p=pspp diff --git a/rust/src/format.rs b/rust/src/format.rs index 34798ed65a..9f285a9dd6 100644 --- a/rust/src/format.rs +++ b/rust/src/format.rs @@ -428,8 +428,7 @@ impl Spec { /// width `var_width`. pub fn check_width_compatibility(self, var_width: VarWidth) -> Result { // Verify that the format is right for the variable's type. - self.format - .check_type_compatibility(var_width.into())?; + self.format.check_type_compatibility(var_width.into())?; if let VarWidth::String(w) = var_width { if var_width != self.var_width() {