From 9d7502fd8b624c7487cff6b03d55450fdf5b8915 Mon Sep 17 00:00:00 2001 From: wentelteefje/ Date: Mon, 23 Sep 2024 21:23:28 +0200 Subject: [PATCH] Fixed error in sails-rs introduction --- docs/build/sails/coreconcepts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/sails/coreconcepts.md b/docs/build/sails/coreconcepts.md index adaf69e..b439134 100644 --- a/docs/build/sails/coreconcepts.md +++ b/docs/build/sails/coreconcepts.md @@ -66,7 +66,7 @@ impl MyService { The program's main responsibility is to host one or more services and expose them to external consumers. The structure of a program is somewhat simpler compared to that of services. As with services, there are two possible variants for its **public** methods: -- **Application Constructors**: Methods working over `Self` are treated as application constructors. These functions can accept some parameters +- **Application Constructors**: Methods returning `Self` are treated as application constructors. These functions can accept some parameters passed by a client and can be synchronous or asynchronous. One of them will be called once at the very beginning of the application lifetime, i.e. when the application is loaded onto the network. The returned program instance will live until the application