chiark / gitweb /
reorg nfc
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 26 Jul 2020 01:25:03 +0000 (02:25 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 26 Jul 2020 01:25:06 +0000 (02:25 +0100)
src/cmdlistener.rs
src/imports.rs

index a925e4897f68dcd1b6327e509af1b176a801cdfb..2f6c51d59a7e829a0168f9a78b5dab22b76101b1 100644 (file)
@@ -104,9 +104,6 @@ impl CommandStream<'_> {
 fn authorise_scope(cs: &CommandStream, wanted: &ManagementScope)
                    -> AuthorisedSatisfactory {
   type AS<T> = (T, ManagementScope);
-//  fn AS<T>(a:T, s:ManagementScope) -> AuthorisedScope<T>
-//  { AuthorisedScope(a,s) }
-  use fs::File;
 
   match &wanted {
     ManagementScope::XXX => {
index 8476e920b6e4b474fb597b7c6bdb153162609ae4..5507ff2353f823d1dd32562efd47e119f4e9fcf4 100644 (file)
@@ -22,6 +22,7 @@ pub use std::error::Error;
 pub use std::marker::PhantomData;
 pub use std::ops::{Deref,DerefMut};
 pub use std::fs;
+pub use std::fs::File;
 pub use std::mem;
   
 pub use thiserror::Error;