Rocket

A web framework for Rust. https://rocket.rs (mirror)
git clone git://git.thc420.xyz/Rocket
Log | Files | Refs | README

commit 42f8af411ed0d07c4acb15179b3f37d3681e9280
parent 2495894c37cce8bb6c5a1b60aff3d8153436b8fc
Author: Thomas Lent <tcl293@gmail.com>
Date:   Sat,  1 Jun 2019 15:41:55 -0400

Fix type in 'Data' rustdocs: 'T' -> 'DataGuard'.

Diffstat:
Mcore/lib/src/data/data.rs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/lib/src/data/data.rs b/core/lib/src/data/data.rs @@ -39,8 +39,8 @@ const PEEK_BYTES: usize = 512; /// # fn main() { } /// ``` /// -/// Above, `T` can be any type that implements `FromData`. Note that `Data` -/// itself implements `FromData`. +/// Above, `DataGuard` can be any type that implements `FromData`. Note that +/// `Data` itself implements `FromData`. /// /// # Reading Data ///