mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
fix 'left behind trailing whitespace' (#3761)
This commit is contained in:
committed by
Seiichi Uchida
parent
783948fcbb
commit
1ded995ee7
+1
-1
@@ -623,7 +623,7 @@ fn push_rewrite_inner(&mut self, span: Span, rewrite: Option<String>) {
|
||||
self.push_str(s);
|
||||
} else {
|
||||
let snippet = self.snippet(span);
|
||||
self.push_str(snippet);
|
||||
self.push_str(snippet.trim());
|
||||
}
|
||||
self.last_pos = source!(self, span).hi();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
pub enum PublishedFileVisibility {
|
||||
Public = sys::ERemoteStoragePublishedFileVisibility_k_ERemoteStoragePublishedFileVisibilityPublic as i32,
|
||||
FriendsOnly = sys::ERemoteStoragePublishedFileVisibility_k_ERemoteStoragePublishedFileVisibilityFriendsOnly as i32,
|
||||
Private = sys::ERemoteStoragePublishedFileVisibility_k_ERemoteStoragePublishedFileVisibilityPrivate as i32,
|
||||
}
|
||||
Reference in New Issue
Block a user