From 40ea35cbe7482ce04096c4d63a848c8601cc1848 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 3 Feb 2020 10:37:50 +0100 Subject: =?UTF-8?q?Upgrade=20to=20new=20toddle=20interface=20=F0=9F=90=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/syntax/scope.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/syntax/scope.rs') diff --git a/src/syntax/scope.rs b/src/syntax/scope.rs index 895ee498..a6d27c1e 100644 --- a/src/syntax/scope.rs +++ b/src/syntax/scope.rs @@ -43,7 +43,7 @@ impl Scope { pub fn add_with_meta(&mut self, name: &str, metadata: ::Meta) where F: ParseFunc + Model + 'static { self.parsers.insert( - name.to_owned(), + name.to_string(), parser::(metadata), ); } -- cgit v1.2.3