Skip to main content

input_declaration

Function input_declaration 

Source
pub fn input_declaration<'a>(raw: &'a str, input: &str) -> Option<&'a str>
Expand description

The declaration of the flake input input inside a flake text.

Both forms are read: inputs.<input>… = …;, and <input> = …; inside the body of inputs = { … };. Comments and strings are scrubbed for the search and the raw text is returned, so the URL survives.