Skip to content

Commit

Permalink
docs(core): add SPDX license info
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Oct 20, 2024
1 parent 5877477 commit 6f0774b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/dar_syntax/float.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
//! Parse float(Decimal point `. ` without a decimal point.)
// SPDX-License-Identifier: MIT
//! This code is a fork of winnow's `float`.(Decimal point `. ` without a decimal point.)
//!
//! Winnow's standard `float` does not error if there is no decimal point. So it is impossible to distinguish between a decimal point and a floating point.
//!
//! # Ref
//! - [MIT License](https://github.com/winnow-rs/winnow/blob/v0.6.20/LICENSE-MIT)
//! - [Code](https://github.com/winnow-rs/winnow/blob/8674ed2c3f57963a4e96c56616ee0a35f58cd258/src/ascii/mod.rs#L1485)
use winnow::{
ascii::{digit1, Caseless},
combinator::{alt, cut_err, opt, trace},
Expand Down

0 comments on commit 6f0774b

Please sign in to comment.