Update str-concat
This commit is contained in:
parent
09fd5b2d35
commit
de2cf60b42
@ -2,6 +2,8 @@
|
||||
|
||||
## [Unreleased](https://github.com/dalance/sv-parser/compare/v0.6.0...Unreleased) - ReleaseDate
|
||||
|
||||
* [Changed] update str-concat
|
||||
|
||||
## [v0.6.0](https://github.com/dalance/sv-parser/compare/v0.5.0...v0.6.0) - 2020-01-24
|
||||
|
||||
* [Added] ignore_include option
|
||||
|
@ -24,6 +24,6 @@ nom-greedyerror = "0.1.0"
|
||||
nom-packrat = "0.3.0"
|
||||
nom-recursive = {version = "0.1.1", features = ["tracer128"]}
|
||||
nom-tracable = "0.4.1"
|
||||
str-concat = "0.1.4"
|
||||
str-concat = "0.2.0"
|
||||
sv-parser-macros = {version = "^0.6.0", path = "../sv-parser-macros"}
|
||||
sv-parser-syntaxtree = {version = "^0.6.0", path = "../sv-parser-syntaxtree"}
|
||||
|
@ -435,7 +435,7 @@ pub(crate) fn current_version() -> Option<VersionSpecifier> {
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
pub(crate) fn concat<'a>(a: Span<'a>, b: Span<'a>) -> Option<Span<'a>> {
|
||||
let c = str_concat::concat(a.fragment, b.fragment);
|
||||
let c = unsafe { str_concat::concat(a.fragment, b.fragment) };
|
||||
if let Ok(c) = c {
|
||||
Some(Span {
|
||||
offset: a.offset,
|
||||
|
Loading…
x
Reference in New Issue
Block a user