tokio-rs / tracing

Application level tracing for Rust.
https://tracing.rs
MIT License
5.19k stars 677 forks source link

fix: subscriber context docs #2894

Closed kaffarell closed 2 months ago

kaffarell commented 5 months ago

In the documentation of the layer context span_scope method, the note contained a reference to a scope() method, which was removed some time ago. Also fixed a phrasing error above.

Fixes: #2890

hawkw commented 4 months ago

Hi @kaffarell, thanks for the fix! I believe that this issue also exists in the documentation on the master branch. Would you mind changing this PR to be based on the master branch? We prefer to merge changes that apply to both the v0.1.x and master branches to master, and then backport them to v0.1.x. This helps ensure that bugs fixed in the release version are also fixed in v0.2. Thank you!

kaffarell commented 4 months ago

Oops, didn't mean to close it :) Anyway, the base branch should now be master.