mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-18 05:51:17 +00:00
fix: make data guards public
This commit is contained in:
parent
077adfd117
commit
9f47bff2fa
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ use rocket::http::{ContentType, Status};
|
|||
use rocket::outcome::Outcome;
|
||||
use rocket::request::Request;
|
||||
|
||||
struct Letter(Vec<u8>);
|
||||
pub struct Letter(Vec<u8>);
|
||||
|
||||
impl Into<Vec<u8>> for Letter {
|
||||
fn into(self) -> Vec<u8> {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ use rocket::http::{ContentType, Status};
|
|||
use rocket::outcome::Outcome;
|
||||
use rocket::request::Request;
|
||||
|
||||
struct Portfolio(Vec<u8>);
|
||||
pub struct Portfolio(Vec<u8>);
|
||||
|
||||
impl Into<Vec<u8>> for Portfolio {
|
||||
fn into(self) -> Vec<u8> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue