Skip to content

Commit d79f1f3

Browse files
rustfmt on 1.50
1 parent 649c900 commit d79f1f3

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

src/ffi/codecs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ extern "C" {
5151
pub fn PyCodec_ReplaceErrors(exc: *mut PyObject) -> *mut PyObject;
5252
pub fn PyCodec_XMLCharRefReplaceErrors(exc: *mut PyObject) -> *mut PyObject;
5353
pub fn PyCodec_BackslashReplaceErrors(exc: *mut PyObject) -> *mut PyObject;
54-
// skipped non-limited PyCodec_NameReplaceErrors from Include/codecs.h
55-
// skipped non-limited Py_hexdigits from Include/codecs.h
54+
// skipped non-limited PyCodec_NameReplaceErrors from Include/codecs.h
55+
// skipped non-limited Py_hexdigits from Include/codecs.h
5656
}

src/ffi/compile.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ extern "C" {
8080
#[cfg(Py_3_8)]
8181
pub fn PyCompile_OpcodeStackEffectWithJump(opcode: c_int, oparg: c_int, jump: c_int) -> c_int;
8282

83-
// skipped non-limited _PyASTOptimizeState
84-
// skipped non-limited _PyAST_Optimize
83+
// skipped non-limited _PyASTOptimizeState
84+
// skipped non-limited _PyAST_Optimize
8585
}
8686

8787
pub const Py_single_input: c_int = 256;

src/ffi/complexobject.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ extern "C" {
5656
pub fn PyComplex_RealAsDouble(op: *mut PyObject) -> c_double;
5757
#[cfg_attr(PyPy, link_name = "PyPyComplex_ImagAsDouble")]
5858
pub fn PyComplex_ImagAsDouble(op: *mut PyObject) -> c_double;
59-
// skipped non-limited PyComplex_AsCComplex
60-
// skipped non-limited _PyComplex_FormatAdvancedWriter
59+
// skipped non-limited PyComplex_AsCComplex
60+
// skipped non-limited _PyComplex_FormatAdvancedWriter
6161
}

src/ffi/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extern "C" {
77
pub static mut PyContextVar_Type: PyTypeObject;
88
// skipped non-limited opaque PyContextVar
99
pub static mut PyContextToken_Type: PyTypeObject;
10-
// skipped non-limited opaque PyContextToken
10+
// skipped non-limited opaque PyContextToken
1111
}
1212

1313
#[inline]
@@ -41,5 +41,5 @@ extern "C" {
4141
) -> c_int;
4242
pub fn PyContextVar_Set(var: *mut PyObject, value: *mut PyObject) -> *mut PyObject;
4343
pub fn PyContextVar_Reset(var: *mut PyObject, token: *mut PyObject) -> c_int;
44-
// skipped non-limited _PyContext_NewHamtForTests
44+
// skipped non-limited _PyContext_NewHamtForTests
4545
}

src/ffi/descrobject.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extern "C" {
4848
pub static mut PyWrapperDescr_Type: PyTypeObject;
4949
#[cfg_attr(PyPy, link_name = "PyPyDictProxy_Type")]
5050
pub static mut PyDictProxy_Type: PyTypeObject;
51-
// skipped non-limited _PyMethodWrapper_Type
51+
// skipped non-limited _PyMethodWrapper_Type
5252
}
5353

5454
extern "C" {

src/ffi/dictobject.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ extern "C" {
6464
) -> c_int;
6565
#[cfg_attr(PyPy, link_name = "PyPyDict_DelItemString")]
6666
pub fn PyDict_DelItemString(dp: *mut PyObject, key: *const c_char) -> c_int;
67-
// skipped 3.10 / ex-non-limited PyObject_GenericGetDict
67+
// skipped 3.10 / ex-non-limited PyObject_GenericGetDict
6868
}
6969

7070
#[cfg_attr(windows, link(name = "pythonXY"))]

src/ffi/eval.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ extern "C" {
2222
closure: *mut PyObject,
2323
) -> *mut PyObject;
2424

25-
// skipped non-limited _PyEval_EvalCodeWithName
26-
// skipped non-limited _PyEval_CallTracing
25+
// skipped non-limited _PyEval_EvalCodeWithName
26+
// skipped non-limited _PyEval_CallTracing
2727
}

src/ffi/fileobject.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extern "C" {
2929
pub static mut Py_FileSystemDefaultEncoding: *const c_char;
3030
pub static mut Py_FileSystemDefaultEncodeErrors: *const c_char;
3131
pub static mut Py_HasFileSystemDefaultEncoding: c_int;
32-
// skipped Python 3.7 / ex-non-limited Py_UTF8Mode
32+
// skipped Python 3.7 / ex-non-limited Py_UTF8Mode
3333
}
3434

3535
// skipped _PyIsSelectable_fd

src/ffi/genobject.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ pub unsafe fn PyCoroWrapper_Check(op: *mut PyObject) -> c_int {
7979
#[cfg_attr(windows, link(name = "pythonXY"))]
8080
extern "C" {
8181
pub static mut PyAsyncGen_Type: PyTypeObject;
82-
// skipped _PyAsyncGenASend_Type
83-
// skipped _PyAsyncGenWrappedValue_Type
84-
// skipped _PyAsyncGenAThrow_Type
82+
// skipped _PyAsyncGenASend_Type
83+
// skipped _PyAsyncGenWrappedValue_Type
84+
// skipped _PyAsyncGenAThrow_Type
8585
}
8686

8787
// skipped PyAsyncGen_New

src/ffi/intrcheck.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ extern "C" {
2020
#[cfg_attr(PyPy, link_name = "PyPyOS_AfterFork")]
2121
pub fn PyOS_AfterFork();
2222

23-
// skipped non-limited _PyOS_IsMainThread
24-
// skipped non-limited Windows _PyOS_SigintEvent
23+
// skipped non-limited _PyOS_IsMainThread
24+
// skipped non-limited Windows _PyOS_SigintEvent
2525
}

0 commit comments

Comments
 (0)