mirror of https://github.com/zkat/miette.git
Remove a useless conversion
This commit is contained in:
parent
21e8bb32b8
commit
1c562b7094
|
|
@ -2004,7 +2004,7 @@ fn syntax_highlighter_on_real_file() {
|
|||
let offset = miette::SourceOffset::from_location(&file_src, line, CO);
|
||||
let err = Test {
|
||||
src: NamedSource::new(filename, file_src.clone()),
|
||||
src_span: SourceSpan::new(offset, LEN.into()),
|
||||
src_span: SourceSpan::new(offset, LEN),
|
||||
};
|
||||
|
||||
let mut out = String::new();
|
||||
|
|
|
|||
Loading…
Reference in New Issue