Use //! for script docs.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Implementation of the Event Handler With State Pattern - JS Style
|
||||
//! Implementation of the Event Handler With State Pattern - JS Style
|
||||
|
||||
/// Initialize user-provided state.
|
||||
fn init() {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Implementation of the Event Handler With State Pattern - Main Style
|
||||
//! Implementation of the Event Handler With State Pattern - Main Style
|
||||
|
||||
/// Initialize user-provided state (shadows system-provided state, if any).
|
||||
fn init() {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Implementation of the Event Handler With State Pattern - Map Style
|
||||
//! Implementation of the Event Handler With State Pattern - Map Style
|
||||
|
||||
/// Initialize user-provided state.
|
||||
/// State is stored inside an object map bound to 'state'.
|
||||
|
Reference in New Issue
Block a user