From ca55bff79de3bf6e2aa86745b7a90a8f72b8fddf Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Sat, 6 Mar 2021 11:46:04 -0500 Subject: [PATCH] fix example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f0edfd8..2a5e8d9 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,13 @@ use git_config::file::GitConfig; use git_config::values::Boolean; use std::fs::read_to_string; -let input = read_to_string(r#" +let input = r#" [core] some-bool = true [other "internal"] hello = world -"#)?; +"#; let mut config = GitConfig::from(input)?; let boolean = config.get_config::("core", None, "some-bool"); config.set_value("other", Some("internal"), "hello", "clippy!");