MCPcopy Create free account
hub / github.com/cosdata/cosdata / string_literal

Function string_literal

org/src/cosql.rs:24–26  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

22}
23
24fn string_literal(input: &str) -> IResult<&str, &str> {
25 delimited(char('"'), take_while1(|c| c != '"'), char('"'))(input)
26}
27
28fn ws<'a, F: 'a, O>(inner: F) -> impl FnMut(&'a str) -> IResult<&'a str, O>
29where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected