rustc: doc comments
This commit is contained in:
parent
0b7af2668a
commit
c3e182cf43
343 changed files with 2260 additions and 2241 deletions
|
@ -36,7 +36,7 @@ pub fn create_DIArray(
|
|||
};
|
||||
}
|
||||
|
||||
/// Return syntax_pos::Loc corresponding to the beginning of the span
|
||||
/// Returns syntax_pos::Loc corresponding to the beginning of the span
|
||||
pub fn span_start(cx: &CodegenCx, span: Span) -> syntax_pos::Loc {
|
||||
cx.sess().source_map().lookup_char_pos(span.lo())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue