diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0acdbc7fdd6..325da517287 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -351,6 +351,7 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot /docs/**/devcontainer-setup.md @10gen/devprod-correctness @svc-auto-approve-bot /docs/devcontainer/** @10gen/devprod-correctness @svc-auto-approve-bot /docs/**/exception_architecture.md @10gen/server-programmability @svc-auto-approve-bot +/docs/**/futures_and_promises.md @10gen/server-programmability @svc-auto-approve-bot /docs/**/golden_data_test_framework.md @10gen/query-optimization @svc-auto-approve-bot /docs/**/idl.md @10gen/server-programmability @svc-auto-approve-bot /docs/**/linting.md @10gen/devprod-build @svc-auto-approve-bot diff --git a/docs/OWNERS.yml b/docs/OWNERS.yml index ebdce4d10f0..c8730f4aaef 100644 --- a/docs/OWNERS.yml +++ b/docs/OWNERS.yml @@ -18,6 +18,9 @@ filters: - "exception_architecture.md": approvers: - 10gen/server-programmability + - "futures_and_promises.md": + approvers: + - 10gen/server-programmability - "golden_data_test_framework.md": approvers: - 10gen/query-optimization diff --git a/docs/futures_and_promises.md b/docs/futures_and_promises.md index 38201cd0f7c..98e55abfb93 100644 --- a/docs/futures_and_promises.md +++ b/docs/futures_and_promises.md @@ -174,7 +174,7 @@ SemiFuture SomeAsyncService::requestWork() { // Code consuming a `SemiFuture` SemiFuture sf = SomeAsyncService::requestWork(); -// sf.then(...) wont' compile because sf is a SemiFuture, which doesn't allow chaining continuations +// sf.then(...) won't compile because sf is a SemiFuture, which doesn't allow chaining continuations // sf.onError(...) won't compile for the same reason auto res = sf.get(); // OK; get blocks until sf is ready ```