From 123229736de8343abdb64241ce16baf4c8bb8698 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 8 Nov 2016 12:41:00 -0800 Subject: Bump dep on bitflags --- src/sftp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/sftp.rs b/src/sftp.rs index a56d3b1..0ef291d 100644 --- a/src/sftp.rs +++ b/src/sftp.rs @@ -55,7 +55,7 @@ pub struct FileType { bitflags! { #[doc = "Options that can be used to configure how a file is opened"] - flags OpenFlags: c_ulong { + pub flags OpenFlags: c_ulong { #[doc = "Open the file for reading."] const READ = raw::LIBSSH2_FXF_READ, #[doc = "Open the file for writing. If both this and Read are \ @@ -80,7 +80,7 @@ bitflags! { bitflags! { #[doc = "Options to `Sftp::rename`"] - flags RenameFlags: c_long { + pub flags RenameFlags: c_long { #[doc = "In a rename operation, overwrite the destination if it \ already exists. If this flag is not present then it is an \ error if the destination already exists"] -- cgit v1.2.3