core: rename strbuf::StrBuf to string::String
[breaking-change]
This commit is contained in:
parent
bbb70cdd9c
commit
553074506e
395 changed files with 1766 additions and 1766 deletions
|
@ -25,7 +25,7 @@ use html::escape::Escape;
|
|||
use t = syntax::parse::token;
|
||||
|
||||
/// Highlights some source code, returning the HTML output.
|
||||
pub fn highlight(src: &str, class: Option<&str>) -> StrBuf {
|
||||
pub fn highlight(src: &str, class: Option<&str>) -> String {
|
||||
debug!("highlighting: ================\n{}\n==============", src);
|
||||
let sess = parse::new_parse_sess();
|
||||
let fm = parse::string_to_filemap(&sess,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue