Skip to content

Commit b7cd24d

Browse files
committed
Make the query comment into a doc comment
1 parent ff19a53 commit b7cd24d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/ty/query/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ define_queries! { <'tcx>
476476

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

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

0 commit comments

Comments
 (0)