Remove two obsolete TODO comments and resolve one

This commit is contained in:
Kurtis Rader 2020-07-22 21:21:33 -07:00 committed by Qi Xiao
parent 9858d5a545
commit cff229d9fa
2 changed files with 12 additions and 5 deletions

View File

@ -198,8 +198,6 @@ import (
// Etymology: Perl, as // Etymology: Perl, as
// [`File::Slurp`](http://search.cpan.org/~uri/File-Slurp-9999.19/lib/File/Slurp.pm). // [`File::Slurp`](http://search.cpan.org/~uri/File-Slurp-9999.19/lib/File/Slurp.pm).
// TODO(xiaq): Document from-lines.
//elvdoc:fn from-json //elvdoc:fn from-json
// //
// ```elvish // ```elvish
@ -233,8 +231,6 @@ import (
// //
// @cf to-json // @cf to-json
// TODO(xiaq): Document to-lines.
//elvdoc:fn to-json //elvdoc:fn to-json
// //
// ```elvish // ```elvish

View File

@ -9,7 +9,18 @@ import (
// Numerical operations. // Numerical operations.
// TODO(xiaq): Document float64. //elvdoc:fn float64
//
// ```elvish
// float64 123
// float64 NaN
// float64 Inf
// ```
//
// Explicitly convert a string to a `float64` data type.
//
// It is very rare that this command is needed. See the discussion of the
// [number](language.html#number) data type.
//elvdoc:fn + - * / //elvdoc:fn + - * /
// //