From 55044aa7d6e84450a2ad59d57d28ff033db38f4b Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Wed, 11 Oct 2023 12:27:09 -0500 Subject: [PATCH] change Type::Float => SyntaxShape::Number to SyntaxShape::Float (#10689) # Description This PR changes `Type::Float` to point at `SyntaxShape::Float` instead of `SyntaxShape::Number`. # User-Facing Changes # Tests + Formatting # After Submitting --- crates/nu-protocol/src/ty.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-protocol/src/ty.rs b/crates/nu-protocol/src/ty.rs index 56f22af070..6d564acf84 100644 --- a/crates/nu-protocol/src/ty.rs +++ b/crates/nu-protocol/src/ty.rs @@ -89,7 +89,7 @@ impl Type { match self { Type::Int => SyntaxShape::Int, - Type::Float => SyntaxShape::Number, + Type::Float => SyntaxShape::Float, Type::Range => SyntaxShape::Range, Type::Bool => SyntaxShape::Boolean, Type::String => SyntaxShape::String,