diff --git a/TUTORIAL.md b/TUTORIAL.md index 8c7ca35..254d980 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -7,7 +7,7 @@ The container To register a class, a new dependency container must be instantiated: ```d // Register a private container -auto dependencies = new DependencyContainer(); +shared(DependencyContainer) dependencies = new DependencyContainer(); // Or use the singleton container dependencies = DependencyContainer.getInstance(); ```