Skip to content

Commit

Permalink
Make the query comment into a doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Jan 15, 2019
1 parent ff19a53 commit b7cd24d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc/ty/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,8 @@ define_queries! { <'tcx>

[] fn foreign_modules: ForeignModules(CrateNum) -> Lrc<Vec<ForeignModule>>,

// For a library crate, this is always none
/// Identifies the entry-point (e.g. the `main` function) for a given
/// crate, returning `None` if there is no entry point (such as for library crates).
[] fn entry_fn: EntryFn(CrateNum) -> Option<(DefId, EntryFnType)>,
[] fn plugin_registrar_fn: PluginRegistrarFn(CrateNum) -> Option<DefId>,
[] fn proc_macro_decls_static: ProcMacroDeclsStatic(CrateNum) -> Option<DefId>,
Expand Down

0 comments on commit b7cd24d

Please sign in to comment.