From f800a0430bef3e51756d97bac76103785921d681 Mon Sep 17 00:00:00 2001 From: vms Date: Tue, 28 Jul 2020 18:44:24 +0300 Subject: [PATCH] fix doc --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 19fd7ef..de1b1a6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,8 +17,8 @@ //! Rust backend SDK for applications on the Fluence network. This crate defines the procedure macro //! `#[fce]` that could be applied to a function, structure or extern block. //! -//! Structures with `#[fce]` could be used then in function arguments and values -//! (hereinafter they'll be called records). All fields of a record should be public and have one of the +//! Structures with `#[fce]` (hereinafter they'll be called records) could be used then in function +//! arguments and values. All fields of a record should be public and have one of the //! following primitive Rust types //! (`bool, u8, u16, u32, u64, i8, i16, i32, i64, f32, f64, String, Vec`). //! ```rust @@ -26,8 +26,8 @@ //! //! #[fce] //! struct T { -//! field_1: i32, -//! field_2: Vec, +//! pub field_1: i32, +//! pub field_2: Vec, //! } //! ``` //!