mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 22:16:30 +03:00
Rust documentation improvements
Document all public modules and some methods. Make some internal public symbols private.
This commit is contained in:
17
src/html.rs
17
src/html.rs
@@ -1,11 +1,12 @@
|
||||
///! # Get message as HTML.
|
||||
///!
|
||||
///! Use `Message.has_html()` to check if the UI shall render a
|
||||
///! corresponding button and `MsgId.get_html()` to get the full message.
|
||||
///!
|
||||
///! Even when the original mime-message is not HTML,
|
||||
///! `MsgId.get_html()` will return HTML -
|
||||
///! this allows nice quoting, handling linebreaks properly etc.
|
||||
//! # Get message as HTML.
|
||||
//!
|
||||
//! Use `Message.has_html()` to check if the UI shall render a
|
||||
//! corresponding button and `MsgId.get_html()` to get the full message.
|
||||
//!
|
||||
//! Even when the original mime-message is not HTML,
|
||||
//! `MsgId.get_html()` will return HTML -
|
||||
//! this allows nice quoting, handling linebreaks properly etc.
|
||||
|
||||
use futures::future::FutureExt;
|
||||
use std::future::Future;
|
||||
use std::pin::Pin;
|
||||
|
||||
Reference in New Issue
Block a user