History

adjustments required due to changed in `git-config` (#331)

Sebastian Thiel committed 4 years ago

Commit 41bfd3b1 parent 60af4c92 files · +2 −1Browse files

Showing the changes to git-config/src/parse (1 of 2 files). Show all

Unified · Split

git-config/src/parse/state.rs+1−0
@@ -53,6 +53,7 @@ impl<'a> State<'a> { · 52 unmodified lines
53 /// Returns an error if the string provided is not a valid `git-config`.53 /// Returns an error if the string provided is not a valid `git-config`.
54 /// This generally is due to either invalid names or if there's extraneous54 /// This generally is due to either invalid names or if there's extraneous
55 /// data succeeding valid `git-config` data.55 /// data succeeding valid `git-config` data.
56 #[allow(clippy::should_implement_trait)]
56 pub fn from_str(input: &'a str) -> Result<State<'a>, Error<'a>> {57 pub fn from_str(input: &'a str) -> Result<State<'a>, Error<'a>> {
57 crate::parse::nom::from_bytes(input.as_bytes())58 crate::parse::nom::from_bytes(input.as_bytes())
58 }59 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t