From 818472335762a70c72497c9b2a3432db5bff5a90 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 28 Sep 2018 17:39:21 -0400 Subject: [PATCH] more comments --- examples/hello_world/implementation.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/hello_world/implementation.rs b/examples/hello_world/implementation.rs index 2a63ea0e..b84d8182 100644 --- a/examples/hello_world/implementation.rs +++ b/examples/hello_world/implementation.rs @@ -38,6 +38,10 @@ impl CompilerQueryContext for QueryContextImpl { // FIXME: This code... probably should not live here. But maybe we // just want to provide some helpers or something? I do suspect I want // people to be able to customize this. +// +// Seems like a classic case where specialization could be useful to +// permit behavior refinement. + impl BaseQueryContext for QueryContextImpl { type QueryDescriptor = DynDescriptor;