Hide RocDec implemntation details.

This commit is contained in:
Derek Gustafson 2022-03-07 15:34:02 -05:00
parent 92ace8ff67
commit ba6b225761
No known key found for this signature in database
GPG key ID: 8B8B15EF3CC8410B
8 changed files with 26 additions and 16 deletions

View file

@ -156,8 +156,7 @@ fn pattern_to_doc_help<'b>(
Bit(false) => alloc.text("False"),
Byte(b) => alloc.text(b.to_string()),
Float(f) => alloc.text(f.to_string()),
// TODO: Proper Dec.to_str
Decimal(d) => alloc.text(d.0.to_string()),
Decimal(d) => alloc.text(d.to_string()),
Str(s) => alloc.string(s.into()),
},
Ctor(union, tag_id, args) => {