File: chic-api

package info (click to toggle)
rust-libcst 0.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 968 kB
  • sloc: python: 895; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: libcst/src/lib.rs
===================================================================
--- libcst.orig/src/lib.rs
+++ libcst/src/lib.rs
@@ -117,7 +117,8 @@ pub fn prettify_error(err: ParserError,
                     format!(
                         "expected {} {} -> {}",
                         e.expected, loc.start_pos, loc.end_pos
-                    ),
+                    )
+                    .as_str(),
                 )
                 .to_string()
         }