Skip to content

Fix doctest typos in src/server/config/mod.rs #293

@coderabbitai

Description

@coderabbitai

Description

Two doctest examples in src/server/config/mod.rs contain stray text (important - comment) that causes compilation failures.

Affected Lines

  • Line 305: In the accept_initial_delay method documentation
  • Line 326: In the accept_max_delay method documentation

Required Changes

Remove the stray (important - comment) text from both doctests:

-    /// let server = WireframeServer::new(|| WireframeApp::default())(important - comment)
+    /// let server = WireframeServer::new(|| WireframeApp::default())

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions